src/share/vm/oops/instanceKlass.cpp
Print this page
rev 6670 : 8049426: Minor cleanups after G1 class unloading
Reviewed-by: stefank
@@ -1949,12 +1949,11 @@
nmethodBucket* b = _dependencies;
while (b != NULL) {
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;
}
b = b->next();
}