General

Profile

alanwu (Alan Wu)

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

Issues

open closed Total
Assigned issues 4 25 29
Reported issues 1 49 50

Projects

Project Roles Registered on
Ruby Committer 03/19/2021

Activity

06/05/2026

08:05 PM Ruby Feature #22093: Introduce `Process::ID` for process IDs returned by `Process.spawn` and `fork`
Nice, and theoretically this enables using [pidfd_open(2)][1] underneath the abstraction to deal with pid recycling race conditions. (Whether that's a good idea is off topic.)
[1]: https://www.man7.org/linux/man-pages/man2/pidfd_open....
alanwu (Alan Wu)
08:00 PM Ruby Feature #21960: Improve #backtrace to not confuse terminals
mame (Yusuke Endoh) wrote in #note-10:
> I have to be blunt: this proposal asks us to break backward compatibility based on an unverified assumption. No one has demonstrated that it actually fixes anything. All pain, no gain. I strongly...
alanwu (Alan Wu)

06/01/2026

09:59 PM Ruby Revision ad14452e (git): [DOC] Description and soundness reasoning for `Primitive.rb_jit_ary_*`
alanwu (Alan Wu)
08:25 PM Ruby Revision 3a5a46f8 (git): Avoid infinite recursion when raising SIGABRT in SIGABRT handler
When VM state is corrupted enough, we can call abort() from the SIGABRT
handler. Previously, we would spam until the stack is full:
ABRT received in SEGV handler
SEGV received in ABRT handler
ABRT received in SEGV handler
...
alanwu (Alan Wu)

05/26/2026

05:04 PM Ruby Revision dc0bb7a5 (git): YJIT: Use rb_reg_new_from_values() instead of rb_reg_new_ary()
To sync up with ZJIT and insns.def. alanwu (Alan Wu)
05:04 PM Ruby Revision b1bf8f31 (git): ZJIT: Delete binding for unused rb_reg_new_ary()
alanwu (Alan Wu)
05:04 PM Ruby Revision e4cba2df (git): Delete now-unused rb_reg_new_ary()
No more usages outside re.c, so let's clean it up. Thanks to @nobu for
noticing!
alanwu (Alan Wu)

05/19/2026

08:26 PM Ruby Revision 8267e508 (git): ZJIT: x64: Prefer 7-byte sign extending `mov` over 10-byte `movabs`
Relevant for small negative immediates. Previously:
# Insn: v16 SetLocal l1, EP@3, v10
mov rsi, qword ptr [r13 + 0x20]
mov rsi, qword ptr [rsi - 8]
and rsi, 0xfffffffffffffffc
# call rb_vm_env_write
push rdi
push rdi
mov...
alanwu (Alan Wu)

05/18/2026

10:22 PM Ruby Bug #22073 (Third Party's Issue): Ruby 3.4.9 segfaults when loading native default gems compiled on Ubuntu 26.04 (GCC 15.2); Ruby 4.0.3 unaffected on same system
Thanks for reporting back! alanwu (Alan Wu)

05/07/2026

08:04 PM Ruby Revision c133f51e (git): ZJIT: Remove from `Invariants` on invalidation
Previously, we kept around `PatchPoint`s after patching them for several
kinds of invariants. That wasted compute since repeated invalidation
with the same key patched a growing list of patchpoints each time,
making it accidentally O(n^2...
alanwu (Alan Wu)

Also available in: Atom