< prev index next >
src/hotspot/share/opto/runtime.cpp
Print this page
@@ -1640,11 +1640,11 @@
static void trace_exception(outputStream* st, oop exception_oop, address exception_pc, const char* msg) {
trace_exception_counter++;
stringStream tempst;
tempst.print("%d [Exception (%s): ", trace_exception_counter, msg);
- exception_oop->print_value_on(&tempst);
+ oopDesc::print_value_on(&tempst, exception_oop);
tempst.print(" in ");
CodeBlob* blob = CodeCache::find_blob(exception_pc);
if (blob->is_compiled()) {
CompiledMethod* cm = blob->as_compiled_method_or_null();
cm->method()->print_value_on(&tempst);
< prev index next >