hotspot/src/share/vm/oops/instanceKlass.cpp
changeset 25500 4d2e06147d1e
parent 25492 d27050bdfb04
child 26135 82b516c550f7
--- a/hotspot/src/share/vm/oops/instanceKlass.cpp	Mon Jul 07 10:12:40 2014 +0200
+++ b/hotspot/src/share/vm/oops/instanceKlass.cpp	Wed Jul 09 16:44:30 2014 +0200
@@ -1951,8 +1951,7 @@
     if (nm == b->get_nmethod()) {
 #ifdef ASSERT
       int count = b->count();
-      assert(count >= 0, "Just check if we ever get here 1");
-      assert(count > 0,  "Just check if we ever get here 2");
+      assert(count >= 0, err_msg("count shouldn't be negative: %d", count));
 #endif
       return true;
     }