8049426: Minor cleanups after G1 class unloading

Reviewed-by: stefank, brutisso
This commit is contained in:
Erik Helin 2014-07-09 16:44:30 +02:00
parent 1b001a2afd
commit b77bc85799
4 changed files with 5 additions and 4 deletions

View file

@ -1951,8 +1951,7 @@ bool InstanceKlass::is_dependent_nmethod(nmethod* nm) {
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;
}