Compatibility
The design follows CRuby’s builtin-validation behavior while adapting the mechanism to JRuby’s different concurrency model.
Co-founder Troy Mallory’s builtin-tracking architecture was merged upstream through PR 9174, then expanded across JRuby’s runtime fast paths by maintainer Charles Oliver Nutter.
JRuby maintainers reviewed and merged PR 9174, expanded the implementation and included it in the release line.
JRuby needed a CRuby-compatible way to determine whether a builtin method was still safe to use without sacrificing JRuby’s true parallelism. Troy designed a thread-local tracking system with lock-free reads, tested the approach in Kestowv OS, and opened the implementation upstream as CufeHaco.
Maintainer Charles Oliver Nutter merged and extended the contribution across core runtime fast paths. The release lineage carries that work into JRuby 10.1.0.0, and the credited implementation is present in the linked JRuby 10.1.1.0 source.
The linked upstream records document independent adoption.
The architecture tracks builtin state per thread, preserves JRuby’s parallel execution model, and gives optimized runtime paths a low-overhead way to fall back when Ruby code replaces a builtin.
The design follows CRuby’s builtin-validation behavior while adapting the mechanism to JRuby’s different concurrency model.
Thread-local state avoids turning a compatibility check into a global lock around a runtime built for true parallel work.
The maintainer expansion carried the mechanism beyond one patch and into the fast paths that need to know whether a builtin remains valid.
These figures come from the PR 9174 submission. They measure builtin-validation checks, not the complete Ruby operations.
The PR author reported roughly 4x to 5x gains for these validation checks. Valen Systems hasn’t presented them as independent end-to-end benchmarks of the full Ruby methods.
The links below identify the author’s validation report, contribution, maintainer changes and released source.
Troy reported testing the architecture in Kestowv OS before opening it upstream.
PR 9174 introduced complete thread-local builtin tracking for JRuby.
Charles Oliver Nutter merged the contribution into JRuby.
A follow-on commit explicitly credits PR 9174 and extends the mechanism across runtime integrations and fast paths.
The contribution is an ancestor of JRuby 10.1.0.0 and remains credited in the 10.1.1.0 source.
The deployment claim is backed by the upstream pull request, merge history, maintainer expansion, release lineage, and current credited source.
Working through a hardware or runtime decision? Explore compute evaluations