Record what needs defining inside the GLOBAL_ENC_TABLE_LOCKING sections and call set_encoding_const() after leaving them. enc_alias() reports whether the alias was new through a flag instead of defining the constant itself.rwstauner (Randy Stauner)
Have the table helpers (enc_table_expand, enc_register, enc_check_addable, enc_replicate, enc_replicate_with_index) return an error code instead, and raise with the same classes and messages after leaving the locked section.rwstauner (Randy Stauner)
The fix for #21142 changed the behavior such that `lazy#each_with_index { ... }` is no longer running the block and just returning the enumerator. 4.0: ``` $ ruby -ve 'arr = []; p 3.times.lazy.each { |*a| arr << a }; p arr;' ruby 4...rwstauner (Randy Stauner)
@nobu The above commit changed the behavior such that `lazy#each_with_index { ... }` is no longer running the block and just returning the enumerator. 4.0: ``` $ ruby -ve 'arr = []; p 3.times.lazy.each { |*a| arr << a }; p arr;' r...rwstauner (Randy Stauner)
I also found where magnus is explicitly setting errinfo to nil: https://github.com/matsadler/magnus/pull/188 If a magnus-backed function was called from an exception handler (prior to #22415) it could also lead to this SEGV.rwstauner (Randy Stauner)
Applied in changeset commit:git|df0d7a87b664c01e303f9a8ded612399ee317299. ---------- [Backport #22426] ZJIT: Snapshot FrameState with reordered args before direct send You can see the reordered args in the new Snapshot right before the...rwstauner (Randy Stauner)
You can see the reordered args in the new Snapshot right before the DirectSend insn: v14:Any = Snapshot FrameState { pc: 0x00, stack: [v6, v11, v13], locals: [] } PatchPoint MethodRedefined(Object@0x00, a@0x00, cme:0x00) ...rwstauner (Randy Stauner)