Skip to content

Conversation

@qinsoon
Copy link
Member

@qinsoon qinsoon commented Mar 1, 2024

No description provided.

Copy link

@udesou udesou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@qinsoon qinsoon merged commit 48d7e42 into mmtk:v1.9.2+RAI Mar 1, 2024
qinsoon added a commit to qinsoon/julia that referenced this pull request Mar 27, 2024
qinsoon added a commit to qinsoon/julia that referenced this pull request May 6, 2024
qinsoon added a commit that referenced this pull request May 10, 2024
* Call initialize_collection before enabling GC (#44)
* Fix build with stock GC: mmtk_pin_object is conditionaly compiled (#42)
udesou pushed a commit to udesou/julia that referenced this pull request Aug 19, 2024
Without this change, the compiler fails to notice that `env_threads isa
Int` in the fall-through case, leading to a union-split with a branch
that is in fact unreachable:

```
43 ┄ %109 = φ (mmtk#41 => %105, mmtk#42 => %108)::Union{Nothing, Int64}
│    %110 = (%109 isa Int64)::Bool
└───        goto mmtk#45 if not %110
...
45 ─ %126 = π (%109, Nothing)
│           Base.convert(Int64, %126)::Union{}
└───        unreachable
```

After this change, the union-split is eliminated.

Co-authored-by: Jeff Bezanson <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants