mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8049426: Minor cleanups after G1 class unloading
Reviewed-by: stefank, brutisso
This commit is contained in:
parent
1b001a2afd
commit
b77bc85799
4 changed files with 5 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue