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 /gc.c | |
parent | cb62399d90f6eeaf3c42ab44730c39c2c0317746 (diff) |
* 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
Diffstat (limited to 'gc.c')
-rw-r--r-- | gc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |