mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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:
parent
9d70a17541
commit
86b2e9d090
2 changed files with 6 additions and 3 deletions
|
@ -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>
|
Fri Oct 11 21:05:19 2013 Koichi Sasada <ko1@atdot.net>
|
||||||
|
|
||||||
* internal.h, parse.y: use `full_mark' instead of `full_marking'.
|
* 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;
|
rb_vm_t *vm = pvm;
|
||||||
struct unlinked_method_entry_list_entry *ume = vm->unlinked_method_entry_list;
|
struct unlinked_method_entry_list_entry *ume = vm->unlinked_method_entry_list;
|
||||||
int i=0;
|
|
||||||
|
|
||||||
while (ume) {
|
while (ume) {
|
||||||
if (ume->me->mark) {
|
if (ume->me->mark) {
|
||||||
rb_mark_method_entry(ume->me);
|
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
|
void
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue