julia
d3759ba4 - Introduce a few GC controls to limit the heap size when running benchmarks (#58487)

Commit
200 days ago
Introduce a few GC controls to limit the heap size when running benchmarks (#58487) We will benefit from having more control over Julia's heap size when benchmarking MMTk: This PR introduces two heap-limit flags: - `--hard-heap-limit`: Set a hard limit on the heap size: if we ever go above this limit, we will abort. - `--upper-bound-for-heap-target-increment`: Set an upper bound on how much the heap target can increase between consecutive collections. Note that they are behind a `GC_ENABLE_HIDDEN_CTRLS` build-time flag, so these options won't be available for most Julia users. It may be a bit tricky to test this, given that the flags are only enabled if you define `GC_ENABLE_HIDDEN_CTRLS`.
Author
Parents
Loading