diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-02-17 03:27:13 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-02-17 03:27:13 +0000 |
commit | 3ee0444955b57decfc8ad5f4aff608f9b103f9e6 (patch) | |
tree | 16d894569e7a11fb69da8f319da40d545b8592da /regerror.c | |
parent | 1492277e3c45c9cff4793a4d142edd992a47060f (diff) | |
download | ruby-3ee0444955b57decfc8ad5f4aff608f9b103f9e6.tar.gz |
* gc.c: introduce new environment variable
"RUBY_GC_HEAP_OLDOBJECT_LIMIT_FACTOR" to control major/minor GC
frequency.
Do full GC when the number of old objects is more than R * N
where R is this factor and
N is the number of old objects just after last full GC.
* test/ruby/test_gc.rb: add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'regerror.c')
0 files changed, 0 insertions, 0 deletions