Ruby Core Updates: Ractor Fixes and JIT Improvements
Ruby merged 10 pull requests including a fix for backtrace handling across ractors and several ZJIT stability improvements. Additional work included class variable cache fixes and RubyGems JRuby compatibility updates.
Duration: PT1M47S
Episode overview
This episode is a short developer briefing from Ruby Core Updates.
It explains recent repository work in plain language.
- Show: Ruby Core Updates
- Published: 2026-04-02T10:00:46Z
- Audio duration: PT1M47S
Transcript excerpt
This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.
Good morning, this is Ruby Core Updates for April 2nd, 2026.
Jean Boussier merged a critical fix for sending backtraces across ractors. Previously, exception backtraces were duped as empty when sent between ractors due to TypedData API limitations. The solution implements proper cloning for Thread::Backtrace objects to handle variable-sized embedded objects correctly.
John Hawthorn merged two important fixes. First, a compile-time optimization for singleton CREF handling that improves constant cache performance in class singleton methods. Second, a fix for class variable cache invalidation that was missing updates through included modules.
The ZJIT team made several changes. Alan Wu added missing type guards for instance variable access on DATA, CLASS, and MODULE objects to prevent type confusion crashes. Takashi Kokubun integrated GC write-execute callbacks for compaction, reducing mprotect calls. However, a cleanup commit by Max Bernstein was…
Peter Zhu fixed a memory leak in the Prism parser where index_lookup_table allocations were being overwritten without cleanup.
Additional commits included RubyGems improvements for JRuby compatibility, skipping extension rebuild checks that…
Nearby episodes from Ruby Core Updates
- Development Tool Reliability Fix
- Weekly Recap - ZJIT Performance and Infrastructure Improvements
- ZJIT Performance Optimizations
- JIT Compiler Optimizations and Bug Fixes
- Memory Management and JIT Improvements
- ZJIT Performance Improvements and GC Optimizations
- CI Infrastructure Improvements
- Weekly Recap - ZJIT Performance & Core Infrastructure