For side-exits, we used to allocate a JITFrame for them, run side-exit deduplication, and then set the stack map on the exits remaining. Because the we never deallocate from the JITFrame arena, all memory allocated for JITFrames in the r...alanwu (Alan Wu)
rb_execution_context_update called into Rust, which made a &mut JITFrame for every ZJIT frame, including C frames that share a read-only static JITFrame. That's UB even without a write. Update the iseq in C instead. rb_gc_update_moved_pt...alanwu (Alan Wu)
* [Bug #22562] Type confusion SEGV: Using `super` and `instance_exec` it is possible to run Array#first on an instance of Integer (alanwu) * Matz attention needed to decide new rules for switching self then using `super`. Two options a...alanwu (Alan Wu)
@matz To fix this bug, we'll need to amend how `self` is type-checked when `super` happens after switching `self` (through e.g. `instance_exec`, `eval`). I have found two options, please decide which one you would prefer so we can have a...alanwu (Alan Wu)