Ruby Core Updates: ZJIT Performance Optimizations and Source Location Revert
Eleven pull requests merged with major ZJIT performance improvements including lightweight frames and specialized block handling. A significant revert removed source location column and end line information from Ruby methods.
Duration: PT1M56S
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-03-28T10:21:01Z
- Audio duration: PT1M56S
Transcript excerpt
This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.
This is Ruby Core Updates for March 28th, 2026.
Takashi Kokubun merged several significant ZJIT optimizations. The largest change introduces lightweight frames, a new compilation strategy that optimizes control flow pointer writes by using JITFrame structures instead of repeatedly updating cfp->pc and cfp->iseq. This 800-line addition spans 34 files and…
Kokubun also merged improvements to ZJIT's send instruction handling. One change makes the compiler exit and recompile methods that lack profiling data, while another fixes stack profiling for block argument calls. Two additional PRs add native stack checking to prevent SystemStackError crashes during compilation.
Benoit Daloze merged a notable revert that removes source location column and end line information from method objects. This change affects the source_location method on Proc, Method, and UnboundMethod objects, returning them to their previous behavior of only providing file and line number.
John Hawthorn merged an object allocation optimization by moving rb_class_allocate_instance into gc.c, allowing for better inlining and delivering 10-15% faster Object allocation performance.
Earlopain cleaned up unused compilation…
Nearby episodes from Ruby Core Updates
- ZJIT Performance Improvements and GC Optimizations
- CI Infrastructure Improvements
- Weekly Recap - ZJIT Performance & Core Infrastructure
- ZJIT Optimization and Developer Tools
- ZJIT Performance Improvements and CI Stability Fixes
- ZJIT Optimization and Performance Improvements
- ZJIT Performance Enhancements and Regexp Freezing
- ZJIT Compilation Improvements and Bug Fixes