summaryrefslogtreecommitdiff
path: root/spec/ruby/core/array/pack/shared/basic.rb
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2023-08-03 10:35:44 -0400
committerPeter Zhu <peter@peterzhu.ca>2023-08-04 09:13:57 -0400
commit4b45b2764b293af45c159d3772692b52752e662a (patch)
tree88fe1bceb0a9b916342a4832e4d11d1ff46e02d7 /spec/ruby/core/array/pack/shared/basic.rb
parent6b570ff2c0f3383f22a456eee6049715c9276383 (diff)
Don't check stack for moved after compaction
We don't need to check stack for moved objects after compaction because the mutator cannot run between marking the stack and the end of compaction. However, the stack may have moved objects leftover from marking and sweeping phases. This means that their pages will be invalidated and all objects moved back. We don't need to move these objects back. This also fixes the issue on Windows where some compaction tests sometimes fail due to the page of the object being invalidated.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/8166
Diffstat (limited to 'spec/ruby/core/array/pack/shared/basic.rb')
0 files changed, 0 insertions, 0 deletions