summaryrefslogtreecommitdiff
path: root/constant.h
diff options
context:
space:
mode:
authorPeter Zhu <[email protected]>2024-12-13 13:43:30 -0500
committerPeter Zhu <[email protected]>2024-12-19 09:14:34 -0500
commit16750a47d0718e82818020233ed3258f8ac74aad (patch)
treef4fc7dad348c2d945c0de97934f1d45880c89cf6 /constant.h
parentf02e31294c8159239f656379ccbb34e466c0ab43 (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 'constant.h')
0 files changed, 0 insertions, 0 deletions