RFR: JDK-8281460: Let ObjectMonitor have its own NMT category
Thomas Stuefe
stuefe at openjdk.java.net
Wed Feb 9 10:23:11 UTC 2022
On Wed, 9 Feb 2022 10:03:51 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
> > It feels weird now :) but let us see if someone else objects. If yes, I withdraw this change.
>
> Yeah, that looks a bit weird, and I have another question: why aren't both `ObjectMonitor` and `ObjectMonitorsHashtable` are `mtSynchronizer`?
No idea. My guess is that ObjectMonitor is mtInternal because of an oversight in JDK-8253064 and the hashtable is only used as an aid during thread dumps, so mtThread? Would be a question to @dcubed-ojdk.
-------------
PR: https://git.openjdk.java.net/jdk/pull/7378
More information about the hotspot-runtime-dev
mailing list