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

* gc.c: need to set initial value of GC_HEAP_FREE_SLOTS_GOAL_RATIO.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ko1 2016-03-31 10:16:48 +00:00
parent 867693fe3d
commit 5951bbecb0
2 changed files with 5 additions and 0 deletions

View file

@ -1,3 +1,7 @@
Thu Mar 31 19:16:16 2016 Koichi Sasada <ko1@atdot.net>
* gc.c: need to set initial value of GC_HEAP_FREE_SLOTS_GOAL_RATIO.
Thu Mar 31 17:50:27 2016 Koichi Sasada <ko1@atdot.net>
* gc.c: change additional allocation policy.

1
gc.c
View file

@ -189,6 +189,7 @@ static ruby_gc_params_t gc_params = {
GC_HEAP_GROWTH_MAX_SLOTS,
GC_HEAP_FREE_SLOTS_MIN_RATIO,
GC_HEAP_FREE_SLOTS_GOAL_RATIO,
GC_HEAP_FREE_SLOTS_MAX_RATIO,
GC_HEAP_OLDOBJECT_LIMIT_FACTOR,