Skip to content

Commit

Permalink
8281460: Let ObjectMonitor have its own NMT category
Browse files Browse the repository at this point in the history
Backport-of: a037b3c35831f029d23a88bdd49e7f2c2d951631
  • Loading branch information
tstuefe committed Feb 25, 2022
1 parent 56f0c53 commit 6650652
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/hotspot/share/memory/allocation.hpp
Expand Up @@ -145,6 +145,7 @@ class AllocatedObj {
f(mtServiceability, "Serviceability") \
f(mtMetaspace, "Metaspace") \
f(mtStringDedup, "String Deduplication") \
f(mtObjectMonitor, "Object Monitors") \
f(mtNone, "Unknown") \
//end

Expand Down
2 changes: 1 addition & 1 deletion src/hotspot/share/runtime/objectMonitor.hpp
Expand Up @@ -127,7 +127,7 @@ class ObjectWaiter : public StackObj {
#define OM_CACHE_LINE_SIZE DEFAULT_CACHE_LINE_SIZE
#endif

class ObjectMonitor : public CHeapObj<mtInternal> {
class ObjectMonitor : public CHeapObj<mtObjectMonitor> {
friend class ObjectSynchronizer;
friend class ObjectWaiter;
friend class VMStructs;
Expand Down

1 comment on commit 6650652

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.