diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-31 07:45:13 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-31 07:45:13 +0000 |
commit | 85df90eaef3e7cf20de1687da1f5d578df3e2022 (patch) | |
tree | fdcdfc73328822a744d9da05cab214ef1a108c7b /load.c | |
parent | f4524045e7a0c56a0c46c9fdea5a8c451101a3ef (diff) | |
download | ruby-85df90eaef3e7cf20de1687da1f5d578df3e2022.tar.gz |
* gc.c: add GC parameters to configure the following values:
* RUBY_GC_HEAP_FREE_SLOTS_MIN_RATIO:
allocate additional pages when free slots is lower than
the value (total_slots * (this ratio)).
* RUBY_GC_HEAP_FREE_SLOTS_MAX_RATIO:
allow to free pages when free slots is greater thatn
the value (total_slots * (this ratio)).
Before this change, these values are hard coded.
* gc.c (ruby_gc_params_t): ditto.
* gc.c (ruby_gc_set_params): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'load.c')
0 files changed, 0 insertions, 0 deletions