General

Profile

thomasklemm (Thomas Klemm)

  • Login: thomasklemm
  • Registered on: 10/21/2026
  • Last sign in: 11/16/2026

Issues

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

Activity

Today

05:20 PM Ruby Revision 67814cf9 (git): ZJIT: Specialize polymorphic opt_neq (#19909)
`a != b` compiles to opt_neq, which carries two call data: one for `==`,
for the interpreter's fast path, and one for `!=`. Because of the second
call data, opt_neq had its own arm in the HIR builder. That arm emitted
a plain Send and sk...
thomasklemm (Thomas Klemm)

11/06/2026

01:16 PM Ruby Revision 9350473e (git): YJIT: Fall back for explicit keywords in IFUNC block calls
The IFUNC fast path passes raw keyword values to rb_vm_yield_with_cfunc
without packing them into a Hash. For example, an Enumerable iterator
that yields [], key: i loses the keyword name when called by each_slice.
Use VM dispatch for V...
thomasklemm (Thomas Klemm)
12:24 AM Ruby Revision f0de939f (git): YJIT: Check singleton attached-object identity in C (GH-19648)
Use rb_yjit_attached_object_is() for the compile-time attachment check.
It keeps the singleton flag test in C and returns only a boolean to Rust.
The predicate cannot raise, allocate, or take locks. Guard emission is
unchanged, and the I...
thomasklemm (Thomas Klemm)

11/05/2026

01:51 AM Ruby Revision 8b9dc082 (git): ZJIT: Don't side-exit on every super from a method that got a block (#19682)
A specialized invokesuper guards that the method's frame has no block
handler, and that guard never recompiled, so a super in a method called
with a block side-exited on every call. Profile whether invokesuper ran
with a block and use th...
thomasklemm (Thomas Klemm)
01:31 AM Ruby Revision 8161a1f6 (git): ZJIT: Interpolate Integers and Modules without calling to_s (#19678)
vm_objtostring() interpolates a Fixnum with rb_fix_to_s(), which returns
a shared frozen string for 0..9, and a Module with its frozen name, when
#to_s is the original Integer#to_s or Module#to_s. ZJIT sent #to_s,
which allocates a new s...
thomasklemm (Thomas Klemm)
12:07 AM Ruby Revision a47dd64f (git): ZJIT: Snapshot after both runs in test_send_proc_block_arg_to_block_param_callee
The first assert_snapshot! in a test process runs `cargo metadata` to
find the workspace root when INSTA_WORKSPACE_ROOT is unset. The child's
SIGCHLD sets a trap interrupt, and if it is still pending when the
inlined second run checks fo...
thomasklemm (Thomas Klemm)

11/03/2026

04:41 PM Ruby Revision a8b095a0 (git): Don't ignore redefinition of Hash.new
BOP_NEW is registered on the singleton class of Hash, but
vm_redefinition_check_flag() only recognized Hash itself, so redefining
or prepending Hash.new never set the redefinition flag. Since opt_new
started to take its Hash fast path ba...
thomasklemm (Thomas Klemm)
01:08 AM Ruby Revision 13c3f56b (git): ZJIT: Allow Proc block arguments for explicit block parameters (GH-19484)
The direct send path already guards the exact Proc and passes it as the callee frame block handler. Let methods with an explicit block parameter use that path too, preserving lazy Proc materialization and identity. thomasklemm (Thomas Klemm)

10/30/2026

04:11 PM Ruby Revision 9bebcb45 (git): YJIT: Fall back for explicit keywords in IFUNC block calls
The IFUNC fast path passes raw keyword values to rb_vm_yield_with_cfunc
without packing them into a Hash. For example, an Enumerable iterator
that yields [], key: i loses the keyword name when called by each_slice.
Use VM dispatch for V...
thomasklemm (Thomas Klemm)

10/29/2026

09:47 PM Ruby Revision 82582337 (git): ZJIT: Avoid accumulating send counters during specialization (GH-19485)
The fixed-point optimizer can revisit a dynamic send after inlining.
Discard runtime counters from its previous specialization attempt before
retrying, while preserving counters for successful replacements.
Cover argument features, call...
thomasklemm (Thomas Klemm)

Also available in: Atom