* 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:
tarui 2013-11-09 00:05:27 +00:00
parent 0f091bbfb4
commit 76a3e71cfd
2 changed files with 7 additions and 2 deletions

View File

@ -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
View File

@ -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 */