< prev index next >

src/share/vm/services/threadService.cpp

Print this page
rev 13054 : imported patch monitor_deflate_conc

@@ -478,11 +478,11 @@
     int length = list->length();
     if (length > 0) {
       _locked_monitors = new (ResourceObj::C_HEAP, mtInternal) GrowableArray<oop>(length, true);
       for (int i = 0; i < length; i++) {
         MonitorInfo* monitor = list->at(i);
-        assert(monitor->owner(), "This monitor must have an owning object");
+        assert(monitor->owner() != NULL, "This monitor must have an owning object");
         _locked_monitors->append(monitor->owner());
       }
     }
   }
 }
< prev index next >