Ruby Core Updates: Object Layout Cleanup and Concurrency Hardening

Jean Boussier's ongoing rework of object field storage continued with fixes for freeing and re-embedding complex objects, while Koichi Sasada relaxed several VM assertions to stop false crashes under multi-ractor workloads. Shugo Maeda's Proc#refined feature landed as the day's headline addition to the language.

Duration: PT2M27S

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-07-15T13:10:20Z
  • Audio duration: PT2M27S

Transcript excerpt

This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.

Good morning. It's July 15th, and today's Ruby codebase activity centers on two threads: finishing up an object layout overhaul, and hardening the VM for concurrent ractor use.

Start with the object layout work. Jean Boussier has been dismantling old assumptions about how complex objects store their fields, building on the shape-based redesign from PR 17631. Today's followups closed out remaining gaps: PR 17863 embeds the internal table directly instead of keeping a separate copy, and PR…

Second theme: ractor safety. Koichi Sasada shipped three related fixes -- PR 17872, PR 17880, and the still-open PR 17873 -- all relaxing VM assertions around call caches and constant lookup that were firing false positives when multiple ractors invalidate caches concurrently. A fourth, PR 17891, stops garbage…

Worth noting: Shugo Maeda's Proc#refined, PR 17248, is the day's feature headline -- a new way to scope refinements to a proc without mutating the original block. And on the JIT side, k0kubun and tekknolagi landed several ZJIT optimizations, including skipping interrupt checks on forward branches, matching existing…

What's next: watch for more compaction and shape fallout as this lands in…

That…

Nearby episodes from Ruby Core Updates

  1. Edge Case Cleanup Across the Interpreter
  2. Fiber Safety and Runtime Introspection
  3. JIT Stability and the Longjmp Problem
  4. Concurrency Bugs and JIT Speedups
  5. Object Layout Overhaul and ZJIT's Inlining Push
  6. Weekly Recap - Concurrency Hardening and ZJIT Performance Push
  7. Windows Build Cleanup and CI Stability
  8. Windows CI Overhaul and Memory Safety Fixes