mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* gc.c (garbage_collect): re-introduce ruby_current_node marking code.
[ruby-dev:31005] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
38f9878b59
commit
ccbdd90865
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
Sat Jun 16 22:24:17 2007 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* gc.c (garbage_collect): re-introduce ruby_current_node marking code.
|
||||
[ruby-dev:31005]
|
||||
|
||||
Sat Jun 16 21:37:43 2007 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* gc.c (gc_sweep): re-introduce heap extension strategy change.
|
||||
|
|
2
gc.c
2
gc.c
|
@ -1376,6 +1376,8 @@ garbage_collect(void)
|
|||
|
||||
init_mark_stack();
|
||||
|
||||
gc_mark((VALUE)ruby_current_node, 0);
|
||||
|
||||
th->vm->self ? rb_gc_mark(th->vm->self) : rb_vm_mark(th->vm);
|
||||
|
||||
if (finalizer_table) {
|
||||
|
|
Loading…
Reference in a new issue