ruby-changes:31958
From: ko1 <ko1@a...>
Date: Fri, 6 Dec 2013 18:34:34 +0900 (JST)
Subject: [ruby-changes:31958] ko1:r44037 (trunk): * gc.c (garbage_collect_body): bug fix.
ko1 2013-12-06 18:34:26 +0900 (Fri, 06 Dec 2013) New Revision: 44037 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44037 Log: * gc.c (garbage_collect_body): bug fix. initialize after recording. Modified files: trunk/ChangeLog trunk/gc.c Index: ChangeLog =================================================================== --- ChangeLog (revision 44036) +++ ChangeLog (revision 44037) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Fri Dec 6 18:33:39 2013 Koichi Sasada <ko1@a...> + + * gc.c (garbage_collect_body): bug fix. + initialize after recording. + Fri Dec 6 17:49:46 2013 Koichi Sasada <ko1@a...> * gc.c (atomic_sub_nounderflow): added to simplify atomic sub with Index: gc.c =================================================================== --- gc.c (revision 44036) +++ gc.c (revision 44037) @@ -4847,8 +4847,8 @@ garbage_collect_body(rb_objspace_t *objs https://github.com/ruby/ruby/blob/trunk/gc.c#L4847 reason |= GPR_FLAG_MAJOR_BY_NOFREE; } if (objspace->rgengc.need_major_gc) { - objspace->rgengc.need_major_gc = GPR_FLAG_NONE; reason |= objspace->rgengc.need_major_gc; + objspace->rgengc.need_major_gc = GPR_FLAG_NONE; } if (objspace->rgengc.remembered_shady_object_count > objspace->rgengc.remembered_shady_object_limit) { reason |= GPR_FLAG_MAJOR_BY_SHADY; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/