vm.c (rb_thread_mark): update comment about marking `me'
[ruby-core:64340] [ruby-core:64341] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
500fbe7666
commit
54e546c6c6
@ -1,3 +1,8 @@
|
|||||||
|
Fri Aug 15 06:00:56 2014 Eric Wong <e@80x24.org>
|
||||||
|
|
||||||
|
* vm.c (rb_thread_mark): update comment about marking `me'
|
||||||
|
[ruby-core:64340] [ruby-core:64341]
|
||||||
|
|
||||||
Fri Aug 15 05:53:59 2014 Eric Wong <e@80x24.org>
|
Fri Aug 15 05:53:59 2014 Eric Wong <e@80x24.org>
|
||||||
|
|
||||||
* README.EXT: preliminary documentation for RB_GC_GUARD
|
* README.EXT: preliminary documentation for RB_GC_GUARD
|
||||||
|
3
vm.c
3
vm.c
@ -2008,7 +2008,8 @@ rb_thread_mark(void *ptr)
|
|||||||
rb_gc_mark(RUBY_VM_NORMAL_ISEQ_P(iseq) ? iseq->self : (VALUE)iseq);
|
rb_gc_mark(RUBY_VM_NORMAL_ISEQ_P(iseq) ? iseq->self : (VALUE)iseq);
|
||||||
}
|
}
|
||||||
if (cfp->me) {
|
if (cfp->me) {
|
||||||
/* TODO: marking `me' can be more sophisticated way */
|
/* bitmap marking `me' does not seem worth the trouble:
|
||||||
|
* [ruby-core:64340] [ruby-core:64341] */
|
||||||
((rb_method_entry_t *)cfp->me)->mark = 1;
|
((rb_method_entry_t *)cfp->me)->mark = 1;
|
||||||
rb_mark_method_entry(cfp->me);
|
rb_mark_method_entry(cfp->me);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user