summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2022-12-19 11:44:00 -0500
committerPeter Zhu <peter@peterzhu.ca>2022-12-19 17:09:08 -0500
commite7915d6d7042c7945195289d882aa91e35dc9404 (patch)
tree42d4d37dd16974bcc50b44e3db673990bcb9260a /test/ruby
parent650a20a3e1205f47224a987676cdbad7d826d597 (diff)
Fix misfire of compaction read barrier
gc_compact_move incorrectly returns false when destination heap is full after sweeping. It returns false even if destination heap is different than source heap (returning false means that the source heap has finished compacting). This causes the source page to get locked, which causes a read barrier fire when we try to compact the source heap again.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/6963
Diffstat (limited to 'test/ruby')
0 files changed, 0 insertions, 0 deletions