Mercurial > hg > graal-compiler
diff src/share/vm/oops/instanceKlass.cpp @ 20279:870c03421152
8049426: Minor cleanups after G1 class unloading
Reviewed-by: stefank, brutisso
author | ehelin |
---|---|
date | Wed, 09 Jul 2014 16:44:30 +0200 |
parents | 2c6ef90f030a |
children | 6e0cb14ce59b a8ea2f110d87 |
line wrap: on
line diff
--- a/src/share/vm/oops/instanceKlass.cpp Mon Jul 07 10:12:40 2014 +0200 +++ b/src/share/vm/oops/instanceKlass.cpp Wed Jul 09 16:44:30 2014 +0200 @@ -1969,8 +1969,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; }