diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-15 09:43:18 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-15 09:43:18 +0000 |
commit | 28a180ed2f94acc2bd08fb3943329a68f83efeec (patch) | |
tree | 02efd4ee3f98395c2756d324e419cb9ec8459cb7 /ChangeLog | |
parent | 3343feeebf5f3f7f3219eadab1d93e11b5ba9f6a (diff) | |
download | ruby-28a180ed2f94acc2bd08fb3943329a68f83efeec.tar.gz |
* gc.c: introduce macros to remove magic number.
GC_HEAP_FREE_SLOTS_MIN_RATIO = 0.3: guarantee minimum empty slots
ratio after sweep.
GC_HEAP_FREE_SLOTS_MAX_RATIO = 0.8: allow to free pages 0.2 (= 1-0.8)
of current existing slots.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1,3 +1,12 @@ +Thu May 15 18:42:49 2014 Koichi Sasada <ko1@atdot.net> + + * gc.c: introduce macros to remove magic number. + + GC_HEAP_FREE_SLOTS_MIN_RATIO = 0.3: guarantee minimum empty slots + ratio after sweep. + GC_HEAP_FREE_SLOTS_MAX_RATIO = 0.8: allow to free pages 0.2 (= 1-0.8) + of current existing slots. + Thu May 15 17:32:51 2014 Hiroshi Shirosaki <h.shirosaki@gmail.com> * thread_win32.c (rb_w32_stack_overflow_handler): use Structured |