diff options
author | Peter Zhu <peter@peterzhu.ca> | 2023-07-31 09:24:48 -0400 |
---|---|---|
committer | Peter Zhu <peter@peterzhu.ca> | 2023-07-31 11:46:53 -0400 |
commit | b98838b65cbf8fa2d228f9e0249414cba4e3197d (patch) | |
tree | 342e39f04c293d898f0d0e7d1d2997df30cb8fe7 /test/ruby/test_gc_compact.rb | |
parent | 1bda22f5fedea5364c6df321a3004c47c732144e (diff) |
Store initial slots per size pool
This commit stores the initial slots per size pool, configured with
the environment variables `RUBY_GC_HEAP_INIT_SIZE_%d_SLOTS`. This
ensures that the configured initial slots remains a low bound for the
number of slots in the heap, which can prevent heaps from thrashing in
size.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/8116
Diffstat (limited to 'test/ruby/test_gc_compact.rb')
0 files changed, 0 insertions, 0 deletions