--- old/src/share/vm/oops/instanceKlass.cpp 2014-07-07 14:11:08.935586845 +0200 +++ new/src/share/vm/oops/instanceKlass.cpp 2014-07-07 14:11:08.791586846 +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; }