diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | vm.c | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,8 @@ +Tue Sep 8 21:48:15 2009 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * vm.c (rb_thread_mark): mark callers iseqs. [ruby-core:25474] + [Bug #2062] + Tue Sep 8 11:53:58 2009 Koichi Sasada <ko1@atdot.net> * iseq.c (iseq_mark): no need to mark inline cache entries. @@ -1573,6 +1573,7 @@ rb_thread_mark(void *ptr) while (cfp != limit_cfp) { rb_gc_mark(cfp->proc); + if (cfp->iseq) rb_gc_mark(cfp->iseq->self); cfp = RUBY_VM_PREVIOUS_CONTROL_FRAME(cfp); } } |