General

Profile

alanwu (Alan Wu)

  • Login: alanwu
  • Registered on: 10/28/2018
  • Last sign in: 10/21/2026

Issues

open closed Total
Assigned issues 2 33 35
Reported issues 2 51 53

Projects

Project Roles Registered on
Ruby Committer 03/19/2021

Activity

10/23/2026

06:46 PM Ruby Feature #22466: Allow disabling the shape redblack cache via RUBY_SHAPE_REDBLACK_CACHE=disable
> If it is preferable to specify the cache size via an environment
variable, instead of just the ability to disable the cache, I can work
on that approach instead.
My 2 cents, since we have had `RUBY_{THREAD_VM,THREAD_MACHINE,FIBE...
alanwu (Alan Wu)

10/22/2026

10:29 PM Ruby Bug #22465 (Open): Method lookup cache invalidation loop from Kernel#extend
(More precisely, the invalidation happens with any method override in the range between `singleton_class.ancestors.first` and the first non-singleton class.)
I'll use YJIT for the example because it has counters in the default build f...
alanwu (Alan Wu)
04:43 PM Ruby Feature #22437: Speed up creation and basic operations of Struct / Data
IMO using an ivar for `__members__` was an implementation limitation from back when we didn't have variable width GC allocations. Now that we can have it as a struct field on the T_CLASS directly, caching the read of that ivar seems espe... alanwu (Alan Wu)

10/21/2026

07:30 PM Ruby Feature #22459: Scoped method-assumption validity tokens (RubyVM.method_token)
Frankly, I don't want to parse through this huge wall of LLM generated prose. Please be mindful of what you're asking readers to do.
Your request boils down to wanting to expose some internal primitive that is used to implement Ruby's m...
alanwu (Alan Wu)

10/20/2026

08:48 PM Ruby Revision c21fb62f (git): ZJIT: Add macOS --with-gmp build test for ZJIT test binary
This is so the build failure in <https://github.com/ruby/ruby/pull/19138>
is covered on CI.
alanwu (Alan Wu)

10/19/2026

06:29 PM Ruby Bug #22396: Using rb_postponed_job_trigger causes YJIT/ZJIT compiled methods side exits
> To be clear, both stackprof and the datadog profiler avoid this because they still sample the stack inside the signal handler -- the postponed jobs mechanism handles only the recording of the stack (which might e.g. involve expanding m... alanwu (Alan Wu)

10/18/2026

03:07 PM Ruby Bug #22414 (Closed): YJIT: arm64 panic "should not fail when writing to a fresh code page" when the code region fills at a page boundary — please backport 5a7089fc03fb to 3.4
(closing because the branch maintainer looks at closed tickets for backports) alanwu (Alan Wu)
03:02 PM Ruby Bug #22396 (Closed): Using rb_postponed_job_trigger causes YJIT/ZJIT compiled methods side exits
Postponed jobs are overall not great for sample collection because it's biased: C methods can run arbitrarily long without checking interrupts which then frames whatever ruby method afterwards with many samples. We've seen this happen wi... alanwu (Alan Wu)

10/14/2026

08:33 PM Ruby Revision e055c053 (git): ZJIT: Fix snapshot merge race
alanwu (Alan Wu)

10/02/2026

10:59 AM Ruby Feature #22392: Allow refinements to define && and ||
BTW, the cost analysis to non-users is incomplete in the PoC. Quantifying JIT time cost in terms of extra instructions doesn't talk about the optimizations otherwise possible that this inhibits.
The space analysis doesn't talk about all ...
alanwu (Alan Wu)

Also available in: Atom