7157365: jruby/bench.bench_timeout crashes with JVM internal error

Reviewed-by: jrose, kvn
This commit is contained in:
Christian Thalinger 2012-06-18 15:17:30 -07:00
parent 3927b8d331
commit ed2051c861
4 changed files with 53 additions and 40 deletions

View file

@ -273,7 +273,7 @@ class Universe: AllStatic {
}
static klassOop typeArrayKlassObj(BasicType t) {
assert((uint)t < T_VOID+1, "range check");
assert((uint)t < T_VOID+1, err_msg("range check for type: %s", type2name(t)));
assert(_typeArrayKlassObjs[t] != NULL, "domain check");
return _typeArrayKlassObjs[t];
}