[前][次][番号順一覧][スレッド一覧]

ruby-changes:31513

From: tarui <ko1@a...>
Date: Sat, 9 Nov 2013 09:05:32 +0900 (JST)
Subject: [ruby-changes:31513] tarui:r43592 (trunk): * gc.c (gc_marks_test): Bugfix. Fix a struct member name for build

tarui	2013-11-09 09:05:27 +0900 (Sat, 09 Nov 2013)

  New Revision: 43592

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=43592

  Log:
    * gc.c (gc_marks_test): Bugfix. Fix a struct member name for build
      with RGENGC_CHECK_MODE.

  Modified files:
    trunk/ChangeLog
    trunk/gc.c
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 43591)
+++ ChangeLog	(revision 43592)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sat Nov  9 09:04:48 2013  Masaya Tarui  <tarui@r...>
+
+	* 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@r...>
 
 	* gc.c : Add GC_PROFILE_DETAIL_MEMORY option.
Index: gc.c
===================================================================
--- gc.c	(revision 43591)
+++ gc.c	(revision 43592)
@@ -4267,13 +4267,13 @@ gc_marks_test(rb_objspace_t *objspace) https://github.com/ruby/ruby/blob/trunk/gc.c#L4267
     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 */

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]