diff options
author | tarui <tarui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-11-06 12:36:34 +0000 |
---|---|---|
committer | tarui <tarui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-11-06 12:36:34 +0000 |
commit | 01a7e7893b2c2866dc39b8c688bd30f108610c4e (patch) | |
tree | 0ae6daf3163f38b9ab0af3faa0d42202e60ac9ae /ChangeLog | |
parent | 564a14e497435730b0bad966047676a54090ffe1 (diff) | |
download | ruby-01a7e7893b2c2866dc39b8c688bd30f108610c4e.tar.gz |
* gc.c (gc_before_sweep): Change algorithm of malloc_limit to
conservative for closing to memory consumption of ruby 2.0.
* gc.c (GC_MALLOC_LIMIT, GC_MALLOC_LIMIT_GROWTH_FACTOR):
Adjust parameters for new algorithm.
Example: make gcbench-rdoc on a pc
time maxrss
2.0.0p343 285.27 281853952
trunk before patch 207.19 690405376
trunk after patch 211.59 312500224
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,11 @@ +Wed Nov 6 21:30:55 2013 Masaya Tarui <tarui@ruby-lang.org> + + * gc.c (gc_before_sweep): Change algorithm of malloc_limit to + conservative for closing to memory consumption of ruby 2.0. + + * gc.c (GC_MALLOC_LIMIT, GC_MALLOC_LIMIT_GROWTH_FACTOR): + Adjust parameters for new algorithm. + Wed Nov 6 21:16:51 2013 Masaki Matsushita <glass.saga@gmail.com> * array.c (rb_ary_shift_m): use RARRAY_PTR_USE() without WB because |