Ruby Core Updates: ZJIT Performance Improvements and GC Optimizations

Ruby's development team merged 15 pull requests focusing heavily on ZJIT compiler optimizations, garbage collection improvements, and CI infrastructure updates. Key changes include new ZJIT configuration options and memory allocation refinements.

Duration: PT2M3S

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-31T10:01:25Z
  • Audio duration: PT2M3S

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 March 31st, 2026.

The Ruby team merged 15 pull requests yesterday with significant focus on the ZJIT just-in-time compiler. Nozomi Hijikata merged improvements to compile modified paths in getblockparamproxy, reducing side exits and slightly increasing the ZJIT ratio in railsbench from 88.4% to 88.5%. Takashi Kokubun added a new…

On the garbage collection front, eightbitraptor merged changes to allocate initial heap slot budgets by bytes rather than slot counts, giving each heap a fixed 2.5 megabyte growth allowance. This keeps overall heap size budgets roughly the same while allowing smaller pools to grow larger before allocating new pages.

John Hawthorn contributed two method caching optimizations: skipping singleton classes in subclass lists and invalidating call caches when method entries are freed. These changes improve method lookup performance without affecting functionality.

Infrastructure updates included CI optimization by st0012, rebalancing compilation jobs and using cheaper result runners. The team also addressed security scanner warnings across multiple GitHub workflow files.

Additional commits included strscan improvements…

Nearby episodes from Ruby Core Updates

  1. ZJIT Performance Optimizations
  2. JIT Compiler Optimizations and Bug Fixes
  3. Ractor Fixes and JIT Improvements
  4. Memory Management and JIT Improvements
  5. CI Infrastructure Improvements
  6. Weekly Recap - ZJIT Performance & Core Infrastructure
  7. ZJIT Optimization and Developer Tools
  8. ZJIT Performance Optimizations and Source Location Revert