General

Profile

alanwu (Alan Wu)

  • Login: alanwu
  • Registered on: 10/28/2018
  • Last sign in: 06/17/2026

Issues

open closed Total
Assigned issues 4 27 31
Reported issues 1 49 50

Projects

Project Roles Registered on
Ruby Committer 03/19/2021

Activity

07/01/2026

01:43 AM Ruby Revision 003caa59 (git): ZJIT: `#[track_caller]` on assert_compiles() and friend
Like other assertion functions alanwu (Alan Wu)
01:33 AM Ruby Revision 9f5f8690 (git): ZJIT: Delete redundant `test_optimize_private_call`
Top-level `def`s are private without having to call `private` to change
visibility. Also there are many other tests along the same line.
```console
irb(main):001> def my_method = 0
=> :my_method
irb(main):002> private_methods(false).las...
alanwu (Alan Wu)
01:33 AM Ruby Revision 4ef4dc18 (git): ZJIT: Delete dead code and enable warnings for `crate::cruby`
alanwu (Alan Wu)
01:33 AM Ruby Revision 9fc225e0 (git): ZJIT: Read `(*cd).ci` directly instead of calling rb_get_call_data_ci()
alanwu (Alan Wu)

06/26/2026

10:47 PM Ruby Revision 88c8877a (git): ZJIT: Comment that we basically never add to test_zjit.rb now [DOC]
Good for the humans and agents. alanwu (Alan Wu)

06/23/2026

07:17 PM Ruby Revision 7a40f85f (git): ZJIT: Move ivar stats out of "send" stats group
Previously, `:dynamic_setivar_count`, `:dynamic_getivar_count`, and
`:dynamic_definedivar_count` had a percentage to the right of them in
the printout with the denominator being `:send_count`.
These are not sends, so move them out of th...
alanwu (Alan Wu)

06/17/2026

10:05 PM Ruby Bug #22116: Segfault with YJIT when `define_method` + `super()` calls a method that creates a `Hash.new { ... }`
(No need for backports, as the bug was masked before commit:ea7d3eb89b8c5192c0cf9a885a17b0aeaef1067a, which is currently unreleased) alanwu (Alan Wu)
09:01 PM Ruby Revision 5eb78494 (git): Copyedit test-all -j crash message. Add hints about RUBY_CRASH_REPORT
The GitHub Actions part particularly is for ZJIT and YJIT jobs which
have a separate "Dump crash logs" fold. There doesn't seem to be a way
to ask for the web UI to unfold on loading of the logs.
alanwu (Alan Wu)

06/15/2026

10:48 PM Ruby Bug #22116 (Closed): Segfault with YJIT when `define_method` + `super()` calls a method that creates a `Hash.new { ... }`
Applied in changeset commit:git|c32d8ae371a00fd08a785e1418e0acda1727e5eb.
----------
YJIT: Fix super() from a block method not rooted in a "def" method
Previously, we unconditionally passed to the callee
`GET_LEP(calling_frame)[VM_ENV_...
alanwu (Alan Wu)
10:47 PM Ruby Revision c32d8ae3 (git): YJIT: Fix super() from a block method not rooted in a "def" method
Previously, we unconditionally passed to the callee
`GET_LEP(calling_frame)[VM_ENV_DATA_INDEX_SPECVAL]`, which in case the
block containing super() is in e.g. a `class`, did not resolve to a
block handler at all.
Properly locate the blo...
alanwu (Alan Wu)

Also available in: Atom