RFR: 8232722: G1 archive region deallocation may shrink the heap below -Xms
Thomas Schatzl
tschatzl at openjdk.org
Fri Jun 2 07:24:15 UTC 2023
On Thu, 1 Jun 2023 15:16:32 GMT, Ashutosh Mehra <duke at openjdk.org> wrote:
> > Maybe it is better to make this change differently, and combine with https://bugs.openjdk.org/browse/JDK-8308854: archive allocation removes/uncommits regions from the heap first, then allocates the new memory. This keeps -Xms. Later deallocation simply frees that memory.
>
> +1 for this approach.
Retracting this change to try the other one.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/14145#issuecomment-1573275004
More information about the hotspot-gc-dev
mailing list