< prev index next >

src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/ui/MonitorCacheDumpPanel.java

Print this page
@@ -73,16 +73,10 @@
      tty.println("  _owner: " + owner);
      if (!raw && owner != null) {
        JavaThread thread = threads.owningThreadFromMonitor(mon);
        if (thread != null) {
          tty.println("    owning thread: " + thread.getThreadName());
-         if (!thread.getAddress().equals(owner)) {
-           if (!thread.isLockOwned(owner)) {
-             tty.println("    WARNING! _owner doesn't fall in " + thread +
-                         "'s stack space");
-           }
-         }
        }
      }
      tty.println("  _contentions: " + mon.contentions());
      tty.println("  _waiters: " + mon.waiters());
      tty.println("  _recursions: " + mon.recursions());
< prev index next >