* 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
This commit is contained in:
parent
cb62399d90
commit
2c616737e5
@ -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>
|
Fri Dec 6 17:49:46 2013 Koichi Sasada <ko1@atdot.net>
|
||||||
|
|
||||||
* gc.c (atomic_sub_nounderflow): added to simplify atomic sub with
|
* gc.c (atomic_sub_nounderflow): added to simplify atomic sub with
|
||||||
|
2
gc.c
2
gc.c
@ -4847,8 +4847,8 @@ garbage_collect_body(rb_objspace_t *objspace, int full_mark, int immediate_sweep
|
|||||||
reason |= GPR_FLAG_MAJOR_BY_NOFREE;
|
reason |= GPR_FLAG_MAJOR_BY_NOFREE;
|
||||||
}
|
}
|
||||||
if (objspace->rgengc.need_major_gc) {
|
if (objspace->rgengc.need_major_gc) {
|
||||||
objspace->rgengc.need_major_gc = GPR_FLAG_NONE;
|
|
||||||
reason |= objspace->rgengc.need_major_gc;
|
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) {
|
if (objspace->rgengc.remembered_shady_object_count > objspace->rgengc.remembered_shady_object_limit) {
|
||||||
reason |= GPR_FLAG_MAJOR_BY_SHADY;
|
reason |= GPR_FLAG_MAJOR_BY_SHADY;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user