From 54e546c6c65ecfee4798a2902a448c5162b14790 Mon Sep 17 00:00:00 2001 From: normal Date: Thu, 14 Aug 2014 21:10:06 +0000 Subject: 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 --- vm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'vm.c') diff --git a/vm.c b/vm.c index f9a2c3df5b..cd80729fde 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); } -- cgit v1.2.3