ruby-changes:30052
From: ko1 <ko1@a...>
Date: Mon, 22 Jul 2013 10:10:57 +0900 (JST)
Subject: [ruby-changes:30052] ko1:r42104 (trunk): * gc.c (gc_slot_sweep): need to add empty RVALUE as freeobj.
ko1 2013-07-22 10:10:46 +0900 (Mon, 22 Jul 2013) New Revision: 42104 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=42104 Log: * gc.c (gc_slot_sweep): need to add empty RVALUE as freeobj. Modified files: trunk/ChangeLog trunk/gc.c Index: ChangeLog =================================================================== --- ChangeLog (revision 42103) +++ ChangeLog (revision 42104) @@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Mon Jul 22 10:09:46 2013 Koichi Sasada <ko1@a...> + + * gc.c (gc_slot_sweep): need to add empty RVALUE as freeobj. + Mon Jul 22 09:48:31 2013 Nobuyoshi Nakada <nobu@r...> * vm_eval.c (eval_string_with_cref): use the given file name unless Index: gc.c =================================================================== --- gc.c (revision 42103) +++ gc.c (revision 42104) @@ -2269,6 +2269,7 @@ gc_slot_sweep(rb_objspace_t *objspace, s https://github.com/ruby/ruby/blob/trunk/gc.c#L2269 } } else { + heap_slot_add_freeobj(objspace, sweep_slot, (VALUE)p); empty_num++; } } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/