General

Profile

dak2 (Daichi Kamiyama)

  • Login: dak2
  • Registered on: 03/04/2026
  • Last sign in: 04/23/2026

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 1 1

Activity

10/27/2026

03:16 PM Ruby Revision 93d31355 (git): ZJIT: Test that NoEPEscape resumes after the call
Existing tests only read a local that eval wrote, which passes even if
the side exit resumed before the call. Pin the snapshot pc in an HIR
test and count how many times eval runs when the patch point fires.
dak2 (Daichi Kamiyama)

10/13/2026

10:39 PM Ruby Revision f568167f (git): ZJIT: Fix stale local read at merge point after eval in one branch
`local_inval` was inherited only from the first-visited predecessor, so a
merge point after `eval` or `binding.local_variable_set` on one branch
could read a stale local. Pre-compute jump targets reachable from an
invalidating instructio...
dak2 (Daichi Kamiyama)
10:39 PM Ruby Revision 540eaae3 (git): Emit NoEPEscape patch point after every non-leaf instruction
`local_inval` was inherited only from the first-visited predecessor, so a
merge point after `eval` in one branch could read a stale local. Patch
right after each non-leaf instruction and drop `local_inval` and its
dataflow.
dak2 (Daichi Kamiyama)

06/22/2026

04:57 PM Ruby Revision 3adbf3b0 (git): Ruby::Box fix stale cached values for exception-related global variables ($! and $@)
Ruby::Box fix stale cached values for exception-related global variables ($! and $@)
The exception-related virtual variables $! (current exception) and
$@ (its backtrace) are stored on the execution context (ec->errinfo
and the rescue/e...
dak2 (Daichi Kamiyama)

05/10/2026

01:36 PM Ruby Revision a41ae11d (git): [DOC] Remove unnecessary backticks from ZJIT docs
The Markdown formatting was broken, so I removed it. dak2 (Daichi Kamiyama)

05/08/2026

12:21 AM Ruby Bug #21991 (Closed): `$!` stays as the first exception in Ruby Box
Applied in changeset commit:git|d4727cd4e63c7bc1bc95a96b7f3c6de568bc5b6e.
----------
Ruby::Box fix stale cached values for exception-related global variables ($! and $@)
Ruby::Box fix stale cached values for exception-related global va...
dak2 (Daichi Kamiyama)
12:21 AM Ruby Revision d4727cd4 (git): Ruby::Box fix stale cached values for exception-related global variables ($! and $@)
Ruby::Box fix stale cached values for exception-related global variables ($! and $@)
The exception-related virtual variables $! (current exception) and
$@ (its backtrace) are stored on the execution context (ec->errinfo
and the rescue/e...
dak2 (Daichi Kamiyama)

05/05/2026

11:20 AM Ruby Bug #21991: `$!` stays as the first exception in Ruby Box
I created a patch for this issue.
https://github.com/ruby/ruby/pull/16863
@tagomoris Could you review this?
dak2 (Daichi Kamiyama)

05/01/2026

03:10 AM Ruby Bug #21940 (Closed): Ruby::Box: `$_` returns stale value due to gvar_tbl caching
Applied in changeset commit:git|f89b07ef0046257dd796a2e615cc063072114f16.
----------
Mark `$_` as box-dynamic to bypass Box gvar_tbl cache
`$_` is updated through svar (rb_lastline_set), bypassing
rb_gvar_set, so the Box gvar_tbl cache...
dak2 (Daichi Kamiyama)
03:10 AM Ruby Revision f89b07ef (git): Mark `$_` as box-dynamic to bypass Box gvar_tbl cache
`$_` is updated through svar (rb_lastline_set), bypassing
rb_gvar_set, so the Box gvar_tbl cache is never invalidated
and returns a stale value. Call rb_gvar_box_dynamic so
gvar_use_box_tbl() skips the cache.
Fixes [Bug #21940](https://...
dak2 (Daichi Kamiyama)

Also available in: Atom