Ruby Core Updates: Garbage Collector Cleanup and Build Chain Fixes

Peter Zhu landed a trio of garbage collector reliability fixes covering double collection during stress testing, string memory usage, and version string length, while Nobuyoshi Nakada continued refining the dump-AST build process.

Duration: PT2M28S

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-26T13:05:05Z
  • Audio duration: PT2M28S

Transcript excerpt

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

Good day, and welcome to Ruby Core Updates for July 26th, 2026.

Today's activity centers on garbage collector hygiene and build tooling cleanup, with a smaller thread on test reliability across different host environments.

Start with the garbage collector. Peter Zhu merged a fix, PR 18060, for a bug where garbage collection ran twice during GC stress testing — once in the standard allocation path, and again unnecessarily in a related fallback path. That's a correctness and performance issue that specifically affects stress testing…

Second theme: build chain refinement, led by Nobuyoshi Nakada. Three related changes — PR 18069, PR 18070, and PR 18071 — refine how the dump-AST tool is built and invoked, including honoring an environment override and reporting the tool's version. Alongside these, standalone commits ensure base Ruby is set up and…

Third, a test reliability fix worth remembering: PR 18066 and its companion commit resolve a failure in the environment key encoding test on hosts without the U.S. English UTF-8 locale installed. The test previously forced a UTF-8 locale that didn't exist on some build hosts, silently falling back to plain ASCII.…

Looking ahead: watch PR 18068…

Nearby episodes from Ruby Core Updates

  1. Ractors Expose Cross-Thread Race Conditions
  2. JIT Precision and Documentation Cleanup
  3. Weekly Recap - ZJIT Performance Push and a Documentation Overhaul
  4. The Great Documentation Correction
  5. JIT Correctness and a Same-Day Revert
  6. ZJIT's Speed Push and a Windows Cleanup Wave
  7. Memory Safety Sweep
  8. Paths, Quotes, and Longjmp Landmines