Moving Forward with AHS for G1
Man Cao
manc at google.com
Wed Apr 9 07:44:08 UTC 2025
Hi all,
Thank you Thomas for creating the umbrella CR at
https://bugs.openjdk.org/browse/JDK-8353716.
While waiting a bit on SoftMaxHeapSize PR (
https://github.com/openjdk/jdk/pull/24211) to see if others have feedback,
I could start working on CurrentMaxHeapSize (
https://bugs.openjdk.org/browse/JDK-8204088).
I also agree that CurrentMaxHeapSize may not need a JEP due to its small
size and low complexity. Should it proceed similarly to how SoftMaxHeapSize
was introduced? I.e, https://bugs.openjdk.org/browse/JDK-8222145, and
creating a CSR (https://bugs.openjdk.org/browse/JDK-8222181) for it.
Separately, for removing support for Min/MaxHeapFreeRatio for G1 (mentioned
in https://bugs.openjdk.org/browse/JDK-8353716 and
https://bugs.openjdk.org/browse/JDK-8238686), how do we handle existing
users that set these two flags?
(We have very few internal users setting these two flags. But yesterday I
ran into a use case that sets -XX:MinHeapFreeRatio=0 -XX:MaxHeapFreeRatio=0
for G1...)
Best,
Man
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/hotspot-gc-dev/attachments/20250409/da764554/attachment.htm>
More information about the hotspot-gc-dev
mailing list