tekknolagi (Maxwell Bernstein)
- Login: tekknolagi
- Email: max@bernsteinbear.com, rubybugs@bernsteinbear.com, max.bernstein@shopify.com
- Registered on: 12/12/2014
- Last sign in: 12/04/2025
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 3 | 39 | 42 |
| Reported issues | 0 | 2 | 2 |
Projects
| Project | Roles | Registered on |
|---|---|---|
| Ruby | Committer | 06/06/2025 |
Activity
12/16/2025
-
12:10 AM Ruby Revision 98cac1a7 (git): Point people to redmine on ZJIT docs (#15499)
- Fix https://github.com/Shopify/ruby/issues/900
12/15/2025
-
04:52 PM Ruby Revision 9581d6c8 (git): ZJIT: Add iongraph-generating Ruby script (#15466)
- Run like so:
$ ../tool/zjit_iongraph.rb ../build-dev/miniruby --zjit-call-threshold=2 tmp/ghbug.rb
false
false
tmp/ghbug.rb:3:in 'Object#doit': this shouldnt ever be nil (RuntimeError)
from tmp/ghbug.rb:10:in...
12/12/2025
-
06:14 PM Ruby Revision 3a0596b9 (git): ZJIT: Add Shape type to HIR (#15528)
- It's just a nicety (they fit fine as CUInt32) but this makes printing
look nicer in real execution and also in tests (helps with #15489).
Co-authored-by: Randy Stauner <randy@r4s6.net>
12/11/2025
-
09:12 PM Ruby Revision 64062792 (git): ZJIT: Check method visibility when optimizing sends (#15501)
- Fix https://github.com/Shopify/ruby/issues/874
12/10/2025
-
04:08 PM Ruby Revision ed18a212 (git): ZJIT: Check if shape is too complex before reading ivar by index (#15478)
- This fixes a crash when the new shape after a transition is too complex;
we need to check that it's not complex before trying to read by index.
12/08/2025
-
04:59 PM Ruby Revision fd45496f (git): Update ZJIT docs (#15449)
12/04/2025
-
02:27 AM Ruby Revision 0af85a1f (git): ZJIT: Optimize setivar with shape transition (#15375)
- Since we do a decent job of pre-sizing objects, don't handle the case where we would need to re-size an object. Also don't handle too-complex shapes.
lobsters stats before:
```
Top-20 calls to C functions from JIT code (79.4% of total ... -
01:25 AM Ruby Revision 3efd8c67 (git): ZJIT: Inline Kernel#class (#15397)
- We generally know the receiver's class from profile info. I see 600k of these when running lobsters.
11/26/2025
-
11:36 PM Ruby Revision db94a79d (git): ZJIT: Count fallback reasons for set/get/definedivar (#15324)
- lobsters:
```
Top-4 setivar fallback reasons (100.0% of total 7,789,008):
shape_transition: 6,074,085 (78.0%)
not_monomorphic: 1,484,013 (19.1%)
not_t_object: 172,629 ( 2.2%)
too_complex: 58,281 ( 0.7%)
Top-3 geti...
11/25/2025
-
06:50 PM Ruby Revision 0eb53053 (git): ZJIT: Specialize setinstancevariable when ivar is already in shape (#15290)
- Don't support shape transitions for now.