diff src/share/vm/memory/universe.hpp @ 6182:765ee2d1674b

7157365: jruby/bench.bench_timeout crashes with JVM internal error Reviewed-by: jrose, kvn
author twisti
date Mon, 18 Jun 2012 15:17:30 -0700
parents b632e80fc9dc
children 24b9c7f4cae6
line wrap: on
line diff
--- a/src/share/vm/memory/universe.hpp	Mon Jun 18 12:29:21 2012 -0700
+++ b/src/share/vm/memory/universe.hpp	Mon Jun 18 15:17:30 2012 -0700
@@ -273,7 +273,7 @@
   }
 
   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];
   }