diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-12-06 09:34:26 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-12-06 09:34:26 +0000 |
commit | 2c616737e514faed0e9a7be0e097e3091334277b (patch) | |
tree | 0937a57c1cc05947992389589c3118c6dbe7eda0 | |
parent | cb62399d90f6eeaf3c42ab44730c39c2c0317746 (diff) | |
download | ruby-2c616737e514faed0e9a7be0e097e3091334277b.tar.gz |
* gc.c (garbage_collect_body): bug fix.
initialize after recording.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | gc.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Fri Dec 6 18:33:39 2013 Koichi Sasada <ko1@atdot.net> + + * gc.c (garbage_collect_body): bug fix. + initialize after recording. + Fri Dec 6 17:49:46 2013 Koichi Sasada <ko1@atdot.net> * gc.c (atomic_sub_nounderflow): added to simplify atomic sub with @@ -4847,8 +4847,8 @@ garbage_collect_body(rb_objspace_t *objspace, int full_mark, int immediate_sweep 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; |