RFR: 8157023: Integrate NMT with JFR [v2]

Jean-Philippe Bempel jpbempel at openjdk.org
Fri Dec 2 17:57:18 UTC 2022


On Fri, 2 Dec 2022 17:16:19 GMT, Erik Gahlin <egahlin at openjdk.org> wrote:

> > I respectfully disagree on that. In a container world, it's common to be hit by OOMKill when sizing the JVM correctly. Most people think only by the Java heap size, and forget about the native part. And when you do, there is few control or possible way to troubleshoot why the native part is going off what you expect. The only useful tool in this situation is NMT to be able to triage which space is the culprit. see https://blog.arkey.fr/2020/11/30/off-heap-reconnaissance/
> 
> Thanks, good to know.

Also some are so desperate to get NMT stats/metrics dynamically:
https://github.com/mcabaj/nmt-metrics
https://github.com/opentable/otj-jvm/blob/master/src/main/java/com/opentable/jvm/Nmt.java

I think I have also seen published as JMX MBean

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

PR: https://git.openjdk.org/jdk/pull/11449


More information about the hotspot-dev mailing list