summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2022-02-02 15:32:38 -0500
committerPeter Zhu <peter@peterzhu.ca>2022-02-03 09:22:24 -0500
commit424374d3302d8d25165007e7afedf14b1a76d23e (patch)
tree609bc7c495191093f5dfd1cc5e13b5267b1683e6 /test/ruby
parent8f3a36fb6e40f9259cc2fcd182cddb7472f3be14 (diff)
downloadruby-424374d3302d8d25165007e7afedf14b1a76d23e.tar.gz
Fix case when gc_marks_continue does not yield slots
gc_marks_continue will start sweeping when it finishes marking. However, if the heap we are trying to allocate into is full, then the sweeping may not yield any free slots. If we don't call gc_sweep_continue immediate after this, then another GC will be started halfway during lazy sweeping. gc_sweep_continue will either grow the heap or finish sweeping.
Diffstat (limited to 'test/ruby')
0 files changed, 0 insertions, 0 deletions