--- old/src/share/vm/utilities/debug.cpp 2017-06-21 20:19:34.128750322 -0400 +++ new/src/share/vm/utilities/debug.cpp 2017-06-21 20:19:34.000743763 -0400 @@ -583,11 +583,13 @@ if (p->has_last_Java_frame()) { // If the last_Java_fp is set we are in C land and // can call the standard stack_trace function. +#ifdef PRODUCT p->print_stack(); } else { -#ifdef PRODUCT tty->print_cr("Cannot find the last Java frame, printing stack disabled."); #else // !PRODUCT + p->trace_stack(); + } else { frame f = os::current_frame(); RegisterMap reg_map(p); f = f.sender(®_map);