General

Profile

alanwu (Alan Wu)

  • Login: alanwu
  • Registered on: 10/28/2018
  • Last sign in: 03/19/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

Today

12:17 AM Ruby Revision d2653493 (git): ZJIT: Guard `T_*` in addition to shape in polymorphic getivar
This is a8f3c34556 ("ZJIT: Add missing guard on ivar access on
T_{DATA,CLASS,MODULE}") but for the polymorphic implementation in HIR
build.
alanwu (Alan Wu)
12:17 AM Ruby Revision 35346add (git): ZJIT: Print CUInt64 in hex when sign bit is set
It's likely some sort of mask or flags. Hexadecimal is more compact. alanwu (Alan Wu)
12:17 AM Ruby Revision 158c1fdb (git): ZJIT: Print the Cptr, not a pointer to the pointer
Previously, we had none-sensical lines such as:
```
v15:CPtr[CPtr(0x1008)] = Const CPtr(0x1010)
```
Which was a contradiction as the pointer in the type specialization
should match the pointer on the right hand side.
alanwu (Alan Wu)
12:17 AM Ruby Revision fa8c9194 (git): ZJIT: Profiling: Separate bits for T_CLASS and T_MODULE
So I don't need to use is_subclass_of(). We already have two branches
for the two types during profiling anyways.
alanwu (Alan Wu)

04/03/2026

12:17 AM Ruby Revision b8c35082 (git): ZJIT: Avoid transmute dodging rustc/LLVM int-to-ptr miscompilation
The transmute triggered a miscompilation on Rust 1.85.0, where the
callback was "optimized" to unconditional go to a `SIGTRAP`ping
instruction.
While later Rust versions don't have the same miscompilation, it seems
that this is also par...
alanwu (Alan Wu)
12:17 AM Ruby Revision 61bef957 (git): YJIT: ZJIT: Use opt-level=1 on dev builds to avoid SystemStackError
Despite adding rb_ec_stack_check() to Rust code entry points, we've seen
SystemStackError causing test failures due to debug builds consume too
much native stack space. Let's use opt-level=1 so rustc/LLVM are more
efficient with stack sp...
alanwu (Alan Wu)
12:17 AM Ruby Revision 6ebe6f97 (git): Revert "ZJIT: Skip TestOpenURIProxy on Linux (#16606)"
This reverts commit d368d42ec6b50cece947556a2185ce73fa493bfe. alanwu (Alan Wu)
12:17 AM Ruby Revision 23175641 (git): Revert "ZJIT: Skip TestOpenURI and TestOpenURISSL (#16603)"
This reverts commit 33b9d2ab9f45a0c66665fb8dc40ddebd07c7b7b7. alanwu (Alan Wu)

04/02/2026

12:18 AM Ruby Revision f0c73671 (git): Revert "ZJIT: Clean up branching in polymorphic opt_send_without_block HIR construction (#16634)"
This reverts commit 77b803cfc833233a49b497a9342f16c9237833e6.
There is a new NULL dereference in tool/test/testunit/test_sorting.rb
that seem to have started with this commit.
alanwu (Alan Wu)

04/01/2026

02:13 PM Ruby Revision a8f3c345 (git): ZJIT: Add missing guard on ivar access on T_{DATA,CLASS,MODULE}
T_DATA, T_MODULE, and T_CLASS objects can share the exact same shape.
The shape on these objects give an index off of the fields array to
get at the ivar. When two objects share the same shape, but differ
in the T_* builtin type, however...
alanwu (Alan Wu)

Also available in: Atom