cosgroveb (Brian Cosgrove)
- Login: cosgroveb
- Registered on: 08/03/2026
- Last sign in: 08/03/2026
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
08/05/2026
-
02:29 AM Ruby Bug #22225: YJIT regenerates a branch while a duplicate target still points to the invalidated block
- alanwu (Alan Wu) wrote in #note-5:
> > That can leave generated code jumping back into code YJIT just invalidated.
> ...
This feels very suspiciously like https://bugs.ruby-lang.org/issues/21257 to me. I'll rule it in or out and update...
08/04/2026
-
11:13 PM Ruby Bug #22225: YJIT regenerates a branch while a duplicate target still points to the invalidated block
- alanwu (Alan Wu) wrote in #note-5:
> > That can leave generated code jumping back into code YJIT just invalidated.
> ...
Not the latest release in CI. I'm willing to backport this bug fix to the release we are using (privately) in our ... -
11:12 PM Ruby Bug #22225: YJIT regenerates a branch while a duplicate target still points to the invalidated block
- luke-gru (Luke Gruber) wrote in #note-3:
> I think this is one of those instances I *should* have used an LLM, sorry! It has me thinking that this is not a bug after all. The JIT team will still take a look at it, but this may not be th... -
10:21 PM Ruby Bug #22225: YJIT regenerates a branch while a duplicate target still points to the invalidated block
- luke-gru (Luke Gruber) wrote in #note-3:
> I think this is one of those instances I *should* have used an LLM, sorry! It has me thinking that this is not a bug after all. The JIT team will still take a look at it, but this may not be th...
08/03/2026
-
02:13 PM Ruby Bug #22225: YJIT regenerates a branch while a duplicate target still points to the invalidated block
- Apologies for the rather in the weeds report here but:
1. Is this expected behavior?
2. This does result in an infinite loop/self-jump in a much more elaborate repro and in my CI environment (a large test suite > 100k examples often r... -
12:18 PM Ruby Bug #22225 (Feedback): YJIT regenerates a branch while a duplicate target still points to the invalidated block
- YJIT adds one incoming-list entry for each branch target that points to a block. When both targets point to the same block, that block's incoming list contains the same `BranchRef` twice.
`invalidate_block_version` processes those ent...