RFR: 8376051: gc/stress/TestStressG1Uncommit.java fails assertLessThan: expected that xxx < xxx
Thomas Schatzl
tschatzl at openjdk.org
Thu Jan 22 08:27:17 UTC 2026
On Thu, 22 Jan 2026 08:08:01 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:
> > [JDK-8238686](https://bugs.openjdk.org/browse/JDK-8238686) change the default value MinHeapFreeRatio/MaxHeapFreeRatio to 0/100, this change make G1 never uncommit heap memory to OS system,
>
> Fwiw, G1 will still uncommit memory to give back to the OS, just not automatically implied by full gcs.
It will re-evaluate and resize the heap at every young gc, based on GC cpu usage.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/29357#issuecomment-3783142936
More information about the hotspot-gc-dev
mailing list