RFR: 8306841: Generational ZGC: NMT reports Java heap size larger than max heap size

Stefan Karlsson stefank at openjdk.org
Thu Jun 8 06:40:49 UTC 2023


On Wed, 7 Jun 2023 14:20:57 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

> Question: why is this limited to generational ZGC? Just a decision not to fix old ZGC, or does it not happen with old ZGC?

It's a little bit of both. We are mainly focusing on improving Generational ZGC, but I actually did create a Bug for the Singlegen ZGC (JDK-8309607) for this. The fix in this PR was actually an old patch for Generational ZGC that I had laying around that I had already tested. We can probably still fix this for Singlegen ZGC, but it needs a little bit more care since we have yet another layer with the multi-mapping.

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

PR Comment: https://git.openjdk.org/jdk/pull/14355#issuecomment-1581973726


More information about the hotspot-dev mailing list