1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* gc.c: enable RGENGC_AGE2_PROMOTION.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ko1 2014-05-14 09:04:27 +00:00
parent b4d9f9ca1d
commit 1b03f51f82
2 changed files with 5 additions and 1 deletions

View file

@ -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.

2
gc.c
View file

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