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

Stefan Karlsson stefank at openjdk.org
Thu Jun 8 06:44:48 UTC 2023


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

> We do, but it is not such an important use case: in hs_err file "unknown pointer" printing, I use NMT to make sense of an otherwise unknown address.

OK. I didn't think about that newish feature. However, if those pointers were actually into the Java Heap they wouldn't be "unknown pointers" but instead reported as uncolored ZGC pointers by the code in ZCollectedHeap::print_location (IIUC). Though I see your point, and maybe there's a way to rewrite NMT in the future.

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

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


More information about the hotspot-dev mailing list