General

Profile

alanwu (Alan Wu)

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

Issues

open closed Total
Assigned issues 3 24 27
Reported issues 1 49 50

Projects

Project Roles Registered on
Ruby Committer 03/19/2021

Activity

Today

02:27 AM Ruby Revision bb0637a9 (git): ZJIT: [DOC] Fix link to in-repo file. Mention GNU Make requirement
alanwu (Alan Wu)
02:08 AM Ruby Bug #21716 (Feedback): YJIT panic: "all PendingBranchRefs should be unique" in net/http response reading (infinite unwind loop)
Unfortunately, with the information available, there is not much we can do on our end.
The PendingBranchRefs in question are transient reference counted objects in YJIT. They have clear
release points that should have been reached be...
alanwu (Alan Wu)

12/17/2025

07:49 PM Ruby Revision 656de67d (git): JITs: Pass down GNU make jobserver resources when appropriate
To fix warnings from rustc on e.g. Make 4.3, which is in Ubuntu 24.04:
> warning: failed to connect to jobserver from environment variable
alanwu (Alan Wu)

12/16/2025

07:56 PM Ruby Revision eaa952b5 (git): YJIT: Print `Rc` strong and weak count on assert failure
For <https://bugs.ruby-lang.org/issues/21716>, the panic is looking like
some sort of third party memory corruption, with YJIT taking the fall.
At the point of this assert, the assembler has dropped, so there's
nothing in YJIT's code oth...
alanwu (Alan Wu)
07:55 PM Ruby Revision 70a7c551 (git): YJIT: Print `Rc` strong and weak count on assert failure
For <https://bugs.ruby-lang.org/issues/21716>, the panic is looking like
some sort of third party memory corruption, with YJIT taking the fall.
At the point of this assert, the assembler has dropped, so there's
nothing in YJIT's code oth...
alanwu (Alan Wu)
07:53 PM Ruby Revision f3d1557d (git): Revert "ZJIT: Allow ccalls above 7 arguments"
This reverts commit 2f151e76b5dc578026706b31f054d5caf5374b05.
The SP decrement (push) before the call do not match up with
the pops after the call, so registers were restored incorrectly.
Code from:
./miniruby --zjit-call-threshol...
alanwu (Alan Wu)
07:50 PM Ruby Bug #21565 (Closed): YJIT has panicked in rails
alanwu (Alan Wu)
06:06 PM Ruby Bug #21715 (Closed): Miscompilation on x86-64-v2 due to undefined behavior in search_nonascii in string.c
Applied in changeset commit:git|d209e6f1c0a93ad3ce1cc64dd165a6b67672614d.
----------
search_nonascii(): Replace UB pointer cast with memcpy
Casting a pointer to create an unaligned one is undefined behavior in C
standards. Use memcpy t...
alanwu (Alan Wu)
06:06 PM Ruby Revision d209e6f1 (git): search_nonascii(): Replace UB pointer cast with memcpy
Casting a pointer to create an unaligned one is undefined behavior in C
standards. Use memcpy to express the unaligned load instead to play by
the rules.
Practically, this yields the same binary output in many situations
while fixing th...
alanwu (Alan Wu)
03:18 AM Ruby Revision 3b3ab338 (git): ZJIT: Fix test failures from line number of `Primitive` shifting
This can happen with documentation updates and we don't want
those to trip on ZJIT tests.
Redact the whole name since names like "_bi342" aren't that helpful
anyways.
alanwu (Alan Wu)

Also available in: Atom