diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-10-11 18:03:43 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-10-11 18:03:43 +0000 |
commit | 9d70a17541782493c7cf5d0dceafadccc2424bd8 (patch) | |
tree | 746711090e8743e238e636cec88eab54064091cd /vm_method.c | |
parent | 3b0abede8ef1a89c4798be11c46922924e21484e (diff) | |
download | ruby-9d70a17541782493c7cf5d0dceafadccc2424bd8.tar.gz |
revert r43259 because it is possible to mark miss classes defined in C-exts. Thanks charliesome.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_method.c')
-rw-r--r-- | vm_method.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/vm_method.c b/vm_method.c index 0066c17c8a..749f7d66c7 100644 --- a/vm_method.c +++ b/vm_method.c @@ -105,13 +105,15 @@ rb_gc_mark_unlinked_live_method_entries(void *pvm) { rb_vm_t *vm = pvm; struct unlinked_method_entry_list_entry *ume = vm->unlinked_method_entry_list; + int i=0; while (ume) { if (ume->me->mark) { rb_mark_method_entry(ume->me); } - ume = ume->next; + ume = ume->next; i++; } + fprintf(stderr, "rb_gc_mark_unlinked_live_method_entries: %d entries\n", i); } void |