* gc.c (gc_marks_test): Bugfix. Fix a struct member name for build
with RGENGC_CHECK_MODE. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0f091bbfb4
commit
76a3e71cfd
@ -1,3 +1,8 @@
|
||||
Sat Nov 9 09:04:48 2013 Masaya Tarui <tarui@ruby-lang.org>
|
||||
|
||||
* gc.c (gc_marks_test): Bugfix. Fix a struct member name for build
|
||||
with RGENGC_CHECK_MODE.
|
||||
|
||||
Sat Nov 9 08:58:23 2013 Masaya Tarui <tarui@ruby-lang.org>
|
||||
|
||||
* gc.c : Add GC_PROFILE_DETAIL_MEMORY option.
|
||||
|
4
gc.c
4
gc.c
@ -4267,13 +4267,13 @@ gc_marks_test(rb_objspace_t *objspace)
|
||||
rgengc_report(1, objspace, "gc_marks_test: test-full-gc\n");
|
||||
|
||||
/* run major (full) gc with temporary mark/rememberset */
|
||||
stored_oldgen = objspace->rgengc.oldgen_object_count;
|
||||
stored_oldgen = objspace->rgengc.old_object_count;
|
||||
stored_shady = objspace->rgengc.remembered_shady_object_count;
|
||||
{
|
||||
gc_marks_body(objspace, TRUE);
|
||||
}
|
||||
objspace->rgengc.during_minor_gc = TRUE;
|
||||
objspace->rgengc.oldgen_object_count = stored_oldgen;
|
||||
objspace->rgengc.old_object_count = stored_oldgen;
|
||||
objspace->rgengc.remembered_shady_object_count = stored_shady;
|
||||
|
||||
/* check */
|
||||
|
Loading…
x
Reference in New Issue
Block a user