Skip to content

Conversation

@d-netto
Copy link

@d-netto d-netto commented Nov 13, 2025

Summary

This PR ports the 1.9 GC heuristics code (also used by 1.10.2+RAI) to 1.12.1+RAI. For context: Julia 1.12 uses a variant of MemBalancer with a few guardrails added by this PR.

Correctness Assessment

I was able to build Julia with this patch. I also ran the GCBenchmarks to assess correctness and didn't observe any correctness bugs.

Performance Assessment

I ran the GCBenchmarks with this PR, and compared its performance with our branch of Julia 1.10 (1.10.2+RAI). It's not an apples-to-apples comparison, but it should let us check if GC performance hasn't regressed significantly between these two versions.

I summarized GC time for each benchmark in the table below. All benchmarks were run with a single mutator and GC thread:

(TODO).

d-netto and others added 3 commits October 28, 2025 10:24
* Port pool stats to 1.12
* Increment/decrement current_pg_count

---------

Co-authored-by: K Pamnany <kpamnany@users.noreply.github.com>
@d-netto d-netto marked this pull request as draft November 13, 2025 15:00
@NHDaly NHDaly deleted the branch v1.12.1+RAI November 18, 2025 15:43
@NHDaly NHDaly closed this Nov 18, 2025
@NHDaly NHDaly reopened this Nov 18, 2025
@d-netto d-netto closed this Nov 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants