summaryrefslogtreecommitdiff
path: root/vm.c
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-08-14 21:10:06 +0000
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-08-14 21:10:06 +0000
commit54e546c6c65ecfee4798a2902a448c5162b14790 (patch)
treefd3fe3688ff0fc6c581aa85ae9723c9f8864c783 /vm.c
parent500fbe766637b8c4fe0136e7ba7ebdde2713b4b9 (diff)
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
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/vm.c b/vm.c
index f9a2c3d..cd80729 100644
--- a/vm.c
+++ b/vm.c
@@ -2008,7 +2008,8 @@ rb_thread_mark(void *ptr)
rb_gc_mark(RUBY_VM_NORMAL_ISEQ_P(iseq) ? iseq->self : (VALUE)iseq);
}
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_mark_method_entry(cfp->me);
}