--- old/src/share/vm/oops/typeArrayOop.hpp 2015-10-30 19:14:52.048475658 +0100 +++ new/src/share/vm/oops/typeArrayOop.hpp 2015-10-30 19:14:51.980475655 +0100 @@ -48,47 +48,47 @@ public: jbyte* byte_at_addr(int which) const { - assert(is_within_bounds(which), "index out of bounds"); + assert(is_within_bounds(which), "index %d out of bounds %d", which, length()); return &byte_base()[which]; } jboolean* bool_at_addr(int which) const { - assert(is_within_bounds(which), "index out of bounds"); + assert(is_within_bounds(which), "index %d out of bounds %d", which, length()); return &bool_base()[which]; } jchar* char_at_addr(int which) const { - assert(is_within_bounds(which), "index out of bounds"); + assert(is_within_bounds(which), "index %d out of bounds %d", which, length()); return &char_base()[which]; } jint* int_at_addr(int which) const { - assert(is_within_bounds(which), "index out of bounds"); + assert(is_within_bounds(which), "index %d out of bounds %d", which, length()); return &int_base()[which]; } jshort* short_at_addr(int which) const { - assert(is_within_bounds(which), "index out of bounds"); + assert(is_within_bounds(which), "index %d out of bounds %d", which, length()); return &short_base()[which]; } jushort* ushort_at_addr(int which) const { // for field descriptor arrays - assert(is_within_bounds(which), "index out of bounds"); + assert(is_within_bounds(which), "index %d out of bounds %d", which, length()); return (jushort*) &short_base()[which]; } jlong* long_at_addr(int which) const { - assert(is_within_bounds(which), "index out of bounds"); + assert(is_within_bounds(which), "index %d out of bounds %d", which, length()); return &long_base()[which]; } jfloat* float_at_addr(int which) const { - assert(is_within_bounds(which), "index out of bounds"); + assert(is_within_bounds(which), "index %d out of bounds %d", which, length()); return &float_base()[which]; } jdouble* double_at_addr(int which) const { - assert(is_within_bounds(which), "index out of bounds"); + assert(is_within_bounds(which), "index %d out of bounds %d", which, length()); return &double_base()[which]; }