RFR: 8376051: gc/stress/TestStressG1Uncommit.java fails assertLessThan: expected that xxx < xxx
SendaoYan
syan at openjdk.org
Thu Jan 22 08:59:37 UTC 2026
On Thu, 22 Jan 2026 08:24:08 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:
> It will re-evaluate and resize the heap at every young gc, based on GC cpu usage.
What I meant is the free heap memory ratio will never greater than 100%, so when the value of MaxHeapFreeRatio is seted to 100, G1 will never give back memory to OS? I am not familiar with GC.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/29357#issuecomment-3783269812
More information about the hotspot-gc-dev
mailing list