diff options
| author | Peter Zhu <peter@peterzhu.ca> | 2024-12-13 13:43:30 -0500 |
|---|---|---|
| committer | Peter Zhu <peter@peterzhu.ca> | 2024-12-19 09:14:34 -0500 |
| commit | 16750a47d0718e82818020233ed3258f8ac74aad (patch) | |
| tree | f4fc7dad348c2d945c0de97934f1d45880c89cf6 /spec/ruby/core/string/split_spec.rb | |
| parent | f02e31294c8159239f656379ccbb34e466c0ab43 (diff) | |
Don't calculate the aligned slot when unlocking page
If we try to use GET_PAGE_HEADER, it can trigger the read barrier. If we
try to align on the slot then we end up unlocking the heap page of a
lower memory address.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/12385
Diffstat (limited to 'spec/ruby/core/string/split_spec.rb')
0 files changed, 0 insertions, 0 deletions
