RFR: 8232722: G1 archive region deallocation may shrink the heap below -Xms

Ashutosh Mehra duke at openjdk.org
Thu Jun 1 15:19:10 UTC 2023


On Thu, 1 Jun 2023 15:00:13 GMT, Thomas Schatzl <tschatzl 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.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/14145#issuecomment-1572250044


More information about the hotspot-gc-dev mailing list