Ruby Core Updates: Memory Management and JIT Improvements
Ruby Core merged 7 pull requests on April 1st, 2026, including public memory allocation APIs and significant ZJIT performance enhancements. Additional commits focused on RubyGems attestation improvements and CI reliability fixes.
Duration: PT1M59S
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-01T10:01:37Z
- Audio duration: PT1M59S
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 1st, 2026.
Jean Boussier merged a significant memory management update, making `ruby_xfree_sized` and `ruby_xrealloc_sized` public APIs. This change affects 23 files across the codebase and implements Feature #21861, providing extension developers better memory management tools.
The ZJIT team delivered three important improvements. Takashi Kokubun merged changes to properly handle method calls with blocks when the target method doesn't accept them, ensuring ArgumentError is raised and unused block warnings are emitted correctly. Nozome Mein added support for VM_OPT_NEWARRAY_SEND_PACK,…
Randy Stauner contributed two fixes: correcting Set#to_set block behavior that was previously returning empty sets, and resolving a SIGABRT crash related to singleton class initialize methods. Nobuyoshi Nakada merged PTY-related fixes.
Additional commits included Peter Zhu adding moving_gc_count to GC.stat for MMTk garbage collection tracking. Several RubyGems improvements landed through Hiroshi SHIBATA, enhancing attestation handling to honor explicit options regardless of platform, normalizing host comparisons, and improving error messaging.…
What's…
Nearby episodes from Ruby Core Updates
- Weekly Recap - ZJIT Performance and Infrastructure Improvements
- ZJIT Performance Optimizations
- JIT Compiler Optimizations and Bug Fixes
- Ractor Fixes and JIT Improvements
- ZJIT Performance Improvements and GC Optimizations
- CI Infrastructure Improvements
- Weekly Recap - ZJIT Performance & Core Infrastructure
- ZJIT Optimization and Developer Tools