diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | gc.c | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -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. @@ -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 */ |