< prev index next >

src/hotspot/share/runtime/objectMonitor.cpp

Print this page
rev 60098 : 8246476: remove AsyncDeflateIdleMonitors option and the safepoint based deflation mechanism
Reviewed-by: dholmes, pchilanomate, coleenp
rev 60099 : coleenp CR

@@ -996,12 +996,12 @@
       LogStreamHandle(Error, monitorinflation) lsh;
       lsh.print_cr("ERROR: ObjectMonitor::exit(): thread=" INTPTR_FORMAT
                     " is exiting an ObjectMonitor it does not own.", p2i(THREAD));
       lsh.print_cr("The imbalance is possibly caused by JNI locking.");
       print_debug_style_on(&lsh);
-#endif
       assert(false, "Non-balanced monitor enter/exit!");
+#endif
       return;
     }
   }
 
   if (_recursions != 0) {
< prev index next >