General

Profile

alanwu (Alan Wu)

  • Login: alanwu
  • Registered on: 10/28/2018
  • Last sign in: 11/25/2025

Issues

open closed Total
Assigned issues 5 22 27
Reported issues 2 48 50

Projects

Project Roles Registered on
Ruby Committer 03/19/2021

Activity

Today

02:23 AM Ruby Revision e1f5e61d (git): YJIT: Fix panic from overly loose filtering in identity method inlining
Credits to @rwstauner for noticing this issue in GH-15533. alanwu (Alan Wu)

12/12/2025

11:43 PM Ruby Revision 628a9410 (git): YJIT: Add missing local variable type update for fallback setlocal blocks
Previously, the chain_depth>0 version of setlocal blocks did not
update the type of the local variable in the context. This can leave
the context with stale type information and trigger or lead to miscompilation.
To trigger the issue, Y...
alanwu (Alan Wu)
11:43 PM Ruby Revision f19e9c66 (git): YJIT: Fix panic from overly loose filtering in identity method inlining
Credits to @rwstauner for noticing this issue in GH-15533. alanwu (Alan Wu)
11:19 PM Ruby Bug #21772: ruby: YJIT has panicked StackOpnd(1) should be a heap object, but was ImmSymbol for VALUE(137647867319760)
Thanks for sharing the logs -- I was able to track down the issue using it.
Backport for 3.4 is pending at https://github.com/ruby/ruby/pull/15535
alanwu (Alan Wu)
08:29 PM Ruby Bug #21772 (Closed): ruby: YJIT has panicked StackOpnd(1) should be a heap object, but was ImmSymbol for VALUE(137647867319760)
Applied in changeset commit:git|2884f53519c4b86072d5fc3b41a71cee697af8ba.
----------
YJIT: Add missing local variable type update for fallback setlocal blocks
Previously, the chain_depth>0 version of setlocal blocks did not
update the ...
alanwu (Alan Wu)
08:29 PM Ruby Revision 2884f535 (git): YJIT: Add missing local variable type update for fallback setlocal blocks
Previously, the chain_depth>0 version of setlocal blocks did not
update the type of the local variable in the context. This can leave
the context with stale type information and trigger panics like in
[Bug #21772] or lead to miscompilati...
alanwu (Alan Wu)
05:09 PM Ruby Bug #21715: Miscompilation on x86-64-v2 due to undefined behavior in search_nonascii in string.c
I'm not a big fan the pragma route. Trying to get good codegen out of UB triggering C code is inherently a whack-a-mole game with compiler brands and even options of the same brand. With non compliant C code the incantation to patch over... alanwu (Alan Wu)

12/11/2025

08:45 PM Ruby Revision c092c294 (git): ZJIT: [DOC] Mention build prerequisites
alanwu (Alan Wu)
08:45 PM Ruby Revision eb889e47 (git): ZJIT: s/checking possible to build ZJIT/checking prerequisites for ZJIT/
Reads better to me:
> checking prerequisites for ZJIT... yes
alanwu (Alan Wu)
08:45 PM Ruby Revision f8f8ff61 (git): auto_request_review.yml: Update path for jit related docs
alanwu (Alan Wu)

Also available in: Atom