General

Profile

tenderlovemaking (Aaron Patterson)

Issues

open closed Total
Assigned issues 26 266 292
Reported issues 30 133 163

Projects

Project Roles Registered on
Ruby Committer 11/13/2009

Activity

03/21/2026

03:49 PM Ruby Revision 251fd7a1 (git): ZJIT: Fold statically known GuardGreaterEq (#16487)
Array access has guards that the array index is greater than or equal to
zero. In the case of code like `array[123]`, we know at compile time
that 123 is greater than 0. Since we're now eagerly unboxing integers,
we can fold this guard...
tenderlovemaking (Aaron Patterson)
12:19 AM Ruby Revision 6b2f2097 (git): ZJIT: Unbox fixnum constants at compile time. (#16484)
I noticed that we're generating machine code that unboxes fixnum
constants. Since the fixnum is constant, and known at compile time, we
can unbox it eagerly and convert it to a Const CInt64
tenderlovemaking (Aaron Patterson)

03/20/2026

07:51 PM Ruby Revision da7be2e8 (git): ZJIT: Optimize codegen (#16426)
* eliminate redundant jumps
* update merge tests
* add some test coverage
* push insns as usual
* wipwipwip
* fix reg imm imm
* update tests
* oops
* collapse some branches
* refactor x86 split pass
* remove unused assert
* do...
tenderlovemaking (Aaron Patterson)

03/19/2026

12:41 AM Ruby Feature #21942 (Closed): Allow reading class variables from non-main Ractors
Applied in changeset commit:git|ab32c0e690b805cdaaf264ad4c3421696c588204.
----------
Allow reading cvars from non-main Ractors (#16308)
Today you can read instance variables from non-main Ractors, but many
Rails applications use cvars,...
tenderlovemaking (Aaron Patterson)
12:41 AM Ruby Revision ab32c0e6 (git): Allow reading cvars from non-main Ractors (#16308)
Today you can read instance variables from non-main Ractors, but many
Rails applications use cvars, and we cannot read them.
For example:
```ruby
class Foo
# This is NOT allowed to be read in non-main Ractors
@@bar = 123
def self...
tenderlovemaking (Aaron Patterson)

03/17/2026

06:33 PM Ruby Revision b7e4d57a (git): ZJIT: linear scan register allocator (#16295)
* add rpo to LIR cfg
* add instruction ids to instructions along with start / end indexes on blocks
* Analyze liveness of vregs
* We don't need to check kill set before adding to gen set
Since we're processing instructions in reverse...
tenderlovemaking (Aaron Patterson)

03/16/2026

05:55 PM Ruby Revision 77b5ab1f (git): ZJIT: Add an option to --zjit-dump-asm to dump code to a folder (#16389)
ZJIT: Add an option to --zjit-dump-disasm to dump code to a folder
This commit adds an option to `--zjit-dump-disasm` so that you can dump
compiled code to a folder (similar to the behavior of yjit).
For example:
```
$ ruby --zjit-dum...
tenderlovemaking (Aaron Patterson)
05:20 PM Ruby Revision bbf00cea (git): ZJIT: introduce a BreakPoint instruction to HIR (#16390)
[ZJIT]: introduce a BreakPoint instruction to HIR
It's nice for debugging to be able to emit a breakpoint from HIR. I
would like to introduce this instruction so that we can do that.
tenderlovemaking (Aaron Patterson)

03/09/2026

08:06 PM Ruby Misc #21877: DevMeeting-2026-03-17
* [Feature #21942] Allow reading class variables (`@@foo`) from non-main Ractors
* Currently `@foo` is allowed to be read, but `@@foo` isn't allowed
* Rails uses `@@foo` so I'd like to make them allowed
tenderlovemaking (Aaron Patterson)

03/05/2026

12:59 AM Ruby Feature #21942: Allow reading class variables from non-main Ractors
I sent a patch [here](https://github.com/ruby/ruby/pull/16308) tenderlovemaking (Aaron Patterson)

Also available in: Atom