summaryrefslogtreecommitdiff
path: root/test/ruby/test_gc_compact.rb
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2023-07-31 09:24:48 -0400
committerPeter Zhu <peter@peterzhu.ca>2023-07-31 11:46:53 -0400
commitb98838b65cbf8fa2d228f9e0249414cba4e3197d (patch)
tree342e39f04c293d898f0d0e7d1d2997df30cb8fe7 /test/ruby/test_gc_compact.rb
parent1bda22f5fedea5364c6df321a3004c47c732144e (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