summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-14 09:04:27 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-14 09:04:27 +0000
commit1b03f51f823a326164d0a8fb51e8270b8f28d327 (patch)
tree036a8f2c00f992cc70f6c9b811648705582367b8
parentb4d9f9ca1d8218d4a35bd361c363ebdba5165db9 (diff)
* gc.c: enable RGENGC_AGE2_PROMOTION.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--gc.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f66bbb4..8acc5ca 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Wed May 14 18:03:28 2014 Koichi Sasada <ko1@atdot.net>
+
+ * gc.c: enable RGENGC_AGE2_PROMOTION.
+
Wed May 14 18:02:30 2014 Koichi Sasada <ko1@atdot.net>
* gc.c (rgengc_rememberset_mark): promote remembered object earlier.
diff --git a/gc.c b/gc.c
index c9d4efa..abac6b9 100644
--- a/gc.c
+++ b/gc.c
@@ -215,7 +215,7 @@ static ruby_gc_params_t gc_params = {
* 1: Infant gen -> Young -> Old gen
*/
#ifndef RGENGC_AGE2_PROMOTION
-#define RGENGC_AGE2_PROMOTION 0
+#define RGENGC_AGE2_PROMOTION 1
#endif
/* RGENGC_ESTIMATE_OLDMALLOC