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

Today

06:13 PM Ruby Feature #22474 (Feedback): Kernel#using (or BasicObject#using)
> However, since any block is a lexical scope, why not allow using in any block?
Seems to be already addressed by #22097.
alanwu (Alan Wu)
06:11 PM Ruby Bug #22472 (Third Party's Issue): Both yjit & zjit break ruby 4.0.9 build on x86_64
This is not an issue with ruby but with the tool chain you're using to build ruby.
> collect2: fatal error: ld terminated with signal 6 [Aborted], core dumped
The linker you're using is crashing, and it's not clear which linker y...
alanwu (Alan Wu)

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)

Also available in: Atom