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

ruby-changes:31467

From: ko1 <ko1@a...>
Date: Wed, 6 Nov 2013 09:14:34 +0900 (JST)
Subject: [ruby-changes:31467] ko1:r43546 (trunk): * gc.c: define RGENGC_ESTIMATE_OLDSPACE == 0 if USE_RGENGC is 0.

ko1	2013-11-06 09:14:26 +0900 (Wed, 06 Nov 2013)

  New Revision: 43546

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

  Log:
    * gc.c: define RGENGC_ESTIMATE_OLDSPACE == 0 if USE_RGENGC is 0.

  Modified files:
    trunk/ChangeLog
    trunk/gc.c
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 43545)
+++ ChangeLog	(revision 43546)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Wed Nov  6 09:13:32 2013  Koichi Sasada  <ko1@a...>
+
+	* gc.c: define RGENGC_ESTIMATE_OLDSPACE == 0 if USE_RGENGC is 0.
+
 Wed Nov  6 07:13:18 2013  Koichi Sasada  <ko1@a...>
 
 	* gc.c (Init_GC): add GC::OPTS to show options.
Index: gc.c
===================================================================
--- gc.c	(revision 43545)
+++ gc.c	(revision 43546)
@@ -194,11 +194,14 @@ static ruby_gc_params_t initial_params = https://github.com/ruby/ruby/blob/trunk/gc.c#L194
 #endif
 
 #else /* USE_RGENGC */
+
 #define RGENGC_DEBUG       0
 #define RGENGC_CHECK_MODE  0
 #define RGENGC_PROFILE     0
 #define RGENGC_THREEGEN    0
-#endif
+#define RGENGC_ESTIMATE_OLDSPACE 0
+
+#endif /* USE_RGENGC */
 
 #ifndef GC_PROFILE_MORE_DETAIL
 #define GC_PROFILE_MORE_DETAIL 0

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

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