зеркало из https://github.com/github/ruby.git
* vm_method.c (rb_gc_mark_unlinked_live_method_entries):
revert last commit to introduce debug prints. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
9d70a17541
Коммит
86b2e9d090
|
@ -1,3 +1,8 @@
|
|||
Sat Oct 12 03:24:49 2013 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* vm_method.c (rb_gc_mark_unlinked_live_method_entries):
|
||||
revert last commit to introduce debug prints.
|
||||
|
||||
Fri Oct 11 21:05:19 2013 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* internal.h, parse.y: use `full_mark' instead of `full_marking'.
|
||||
|
|
|
@ -105,15 +105,13 @@ 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; i++;
|
||||
ume = ume->next;
|
||||
}
|
||||
fprintf(stderr, "rb_gc_mark_unlinked_live_method_entries: %d entries\n", i);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Загрузка…
Ссылка в новой задаче