< prev index next >
src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/ui/MonitorCacheDumpPanel.java
Print this page
rev 54415 : 8222295: more baseline cleanups from Async Monitor Deflation project
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 2002, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
@@ -81,11 +81,11 @@
"'s stack space");
}
}
}
}
- tty.println(" _count: " + mon.count());
+ tty.println(" _contentions: " + mon.contentions());
tty.println(" _waiters: " + mon.waiters());
tty.println(" _recursions: " + mon.recursions());
}
private void dumpOn(PrintStream tty) {
@@ -96,11 +96,11 @@
return;
}
ObjectMonitor mon;
while (i.hasNext()) {
mon = (ObjectMonitor)i.next();
- if (mon.count() != 0 || mon.waiters() != 0 || mon.owner() != null) {
+ if (mon.contentions() != 0 || mon.waiters() != 0 || mon.owner() != null) {
OopHandle object = mon.object();
if (object == null) {
dumpMonitor(tty, mon, true);
} else {
dumpMonitor(tty, mon, false);
< prev index next >