summaryrefslogtreecommitdiff
path: root/yjit/src/backend/x86_64
diff options
context:
space:
mode:
authorAlan Wu <[email protected]>2025-01-29 14:59:26 -0500
committerAlan Wu <[email protected]>2025-01-29 19:09:39 -0500
commit5a7089fc03fb77da6f0f6c005a9a0ef655660cff (patch)
tree870846bc76bab6b970a5406513bacb6375961fce /yjit/src/backend/x86_64
parentde45755de803577f0a5593623c162384affa36f1 (diff)
YJIT: A64: Remove assert that trips when OOM at page boundary
With a well-timed OOM around a page switch in the backend, it can return RetryOnNextPage twice and crash due to the assert. (More places can signal OOM now since VirtualMem tracks Rust malloc heap size for --yjit-mem-size.) Return error in these cases instead of crashing. Fixes: https://github.com/Shopify/ruby/issues/566
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/12668
Diffstat (limited to 'yjit/src/backend/x86_64')
0 files changed, 0 insertions, 0 deletions