John Hawthorn
John Hawthorn
This is built on top of https://github.com/ruby/ruby/pull/12977 (itself just a rebase of https://github.com/ruby/ruby/pull/7182). The last commit, bbad06701c0f86b9a678c3959816792ef717a576, has the noteable change. This makes Method objects shareable via `Ractor.make_shareable`, with similar...
This commit flushes the `allocated_objects_count` from the current Ractor's rb_ractor_newobj_cache_t whenever GC.stat or GC.stat_heap is called. This should allow measuring a small number of allocations as expected even after starting...
This adds a compile-time option, `OPT_TAILCALL_THREADED_CODE`, to use musttail for threading in the VM loop. This works best with the latest LLVM, though the latest GCC also has musttail. This...
We didn't confirm that this is causing the CI failures, but this is our guess. The id2ref table is built calling `disable_gc_no_rest`, which won't finish on ongoing GC, so it...
This removes an indirect branch by calling the allocator function from the class directly. ``` Benchmark 1: ./miniruby_master --yjit -e '20_000_000.times { Object.new }' Time (mean ± σ): 1.203 s...