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 3 51 54

Projects

Project Roles Registered on
Ruby Committer 03/19/2021

Activity

Today

07:34 PM Ruby Bug #22481 (Open): `break` in block passed to Method#to_proc cause [BUG] Stack consistency error
```ruby
def m(a) = yield(a)
def run = method(:m).to_proc.(7) { break }
p run
```
Found by fuzzing. Crashes all released versions and on trunk. I haven't investigated a fix.
alanwu (Alan Wu)

10/27/2026

03:15 PM Ruby Bug #22476: rb_profile_frames() called from a signal handler segfaults while vm_make_env_each() is escaping a chain of frames
CC @jhawthorn
This sounds very similar to the issue from https://github.com/ruby/ruby/pull/16615
alanwu (Alan Wu)

10/26/2026

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)

Also available in: Atom