RFR: JDK-8281460: Let ObjectMonitor have its own NMT category
David Holmes
dholmes at openjdk.java.net
Wed Feb 9 12:20:06 UTC 2022
On Tue, 8 Feb 2022 08:10:05 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:
> It would be useful to distinguish ObjectMonitor allocations in NMT, as a simple way to both to see the needed footprint as well as the number of allocated monitors.
>
> Note, this needs [JDK-8281450](https://bugs.openjdk.java.net/browse/JDK-8281450) as a prerequisite.
I think mtSynchronizer was for VM synchronization objects: mutexes, semaphore etc. Not ObjectMonitors. But as always if these conventions are not clearly known then "misuse" can creep in.
-------------
PR: https://git.openjdk.java.net/jdk/pull/7378
More information about the hotspot-runtime-dev
mailing list