summaryrefslogtreecommitdiff
path: root/spec/ruby/core/array/replace_spec.rb
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2022-07-06 17:04:22 -0400
committerPeter Zhu <peter@peterzhu.ca>2022-07-07 09:39:28 -0400
commitd6c98626da706fe5399a2a13f4a934c27c8f4c7b (patch)
tree24852fd25c1ac1ab34a83c10dcf7c0d1763b7663 /spec/ruby/core/array/replace_spec.rb
parentd7c5a6d49ba7fe62f7d2bf538be813234db20783 (diff)
Fix crash in compaction due to unlocked page
The page of src could be partially compacted, so it may contain T_MOVED. Sweeping a page may read objects on this page, so we need to lock the page.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/6096
Diffstat (limited to 'spec/ruby/core/array/replace_spec.rb')
0 files changed, 0 insertions, 0 deletions