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

04/10/2026

07:35 PM Ruby Revision 4978bfb2 (git): ZJIT: `fmt::Debug` for VALUE in hex. Shorthand for rb_obj_info()
The default `{:?}` still always prints the pointer address and never
dereferences it, but now in hex.
The "alternate" flag lets you do `println!("{my_ruby_object:#?}")` and
get a rich printout like `VALUE(0x000000010232fd00 T_CLASS/Obje...
alanwu (Alan Wu)
07:32 PM Ruby Revision 5ffaaf04 (git): ZJIT: Assert no side exits in assert_compiles()
Most of the time, we want to assert that we compile and the compiled
code runs without exiting. A small number of tests trigger side exits,
and those are changed to use assert_compiles_allowing_exits().
```console
$ rg -F 'assert_compil...
alanwu (Alan Wu)

04/09/2026

11:26 PM Ruby Revision 0c1ce03b (git): ZJIT: Make `hir::types::Class` not final and have it include metaclasses
Every class boots with a metaclass, and all metaclasses are subclasses
of Class, so `types::Class` has no business in `ExactBitsAndClass`.
In fact, we should never see an object whose RBasic::class is exactly
rb_cClass because classes ge...
alanwu (Alan Wu)

04/08/2026

09:44 PM Ruby Revision aa7e671c (git): ZJIT: [DOC] induce_breakpoint! behaves differently when ZJIT is on
alanwu (Alan Wu)

04/07/2026

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 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)

Also available in: Atom