Ruby Core Updates: Threading Fixes and Memory Optimization

Seven pull requests merged with notable fixes for OpenBSD thread support and garbage collection optimizations. Major work includes M:N threading improvements and slot size calculation refactoring.

Duration: PT1M48S

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-09T15:25:20Z
  • Audio duration: PT1M48S

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 9th, 2026.

Starting with merged pull requests: jhawthorn merged a fix for M:N threads under OpenBSD, addressing memory mapping requirements for thread stacks that were causing "Invalid argument" errors. The solution re-maps reserved stack regions with the MAP_STACK flag.

eightbitraptor merged a significant garbage collection optimization, replacing slot size calculations with a lookup table. This change affects 12 files and derives slot sizes from hardcoded available sizes rather than calculating them dynamically.

nobu merged fixes for random.c targeting i686-mingw builds, addressing upper bit mixing when st_index_t is shorter than uint64_t and resolving uninitialized buffer warnings.

hsbt contributed two merges: an ISO8601 datetime parsing fix that removes Time.parse dependency to prevent ruby-bench version conflicts, and an update merging zlib-3.2.3 into Ruby 4.0.

nobu also merged warning suppressions for i686 builds, fixing sign-compare and format warnings in numeric.c and the garbage collector.

Nearby episodes from Ruby Core Updates

  1. ZJIT Optimizations and Prism Compiler Improvements
  2. Threading and RubyGems Compatibility Fixes
  3. ZJIT Optimization and Core Fixes
  4. ZJIT Optimizations and Zlib Updates
  5. Weekly Recap - JIT Optimizations and Bug Fixes
  6. JSON Gem Security and Release Update
  7. ZJIT Performance Enhancements and Bug Fixes
  8. ZJIT Optimizations and Prism Parser Improvements