ruby-changes:38567
From: nobu <ko1@a...>
Date: Wed, 27 May 2015 14:55:13 +0900 (JST)
Subject: [ruby-changes:38567] nobu:r50648 (trunk): gc.c: mark stress_to_class
nobu 2015-05-27 14:55:00 +0900 (Wed, 27 May 2015) New Revision: 50648 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50648 Log: gc.c: mark stress_to_class * gc.c (gc_mark_roots): stress_to_class is also a GC root. Modified files: trunk/gc.c Index: gc.c =================================================================== --- gc.c (revision 50647) +++ gc.c (revision 50648) @@ -4595,6 +4595,8 @@ gc_mark_roots(rb_objspace_t *objspace, c https://github.com/ruby/ruby/blob/trunk/gc.c#L4595 MARK_CHECKPOINT("live_method_entries"); rb_gc_mark_unlinked_live_method_entries(th->vm); + if (stress_to_class) rb_gc_mark(stress_to_class); + MARK_CHECKPOINT("finish"); #undef MARK_CHECKPOINT } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/