1.1 --- a/src/os_cpu/solaris_x86/vm/thread_solaris_x86.cpp Mon Jun 19 22:49:52 2017 +0000 1.2 +++ b/src/os_cpu/solaris_x86/vm/thread_solaris_x86.cpp Mon Jun 26 02:04:40 2017 -0700 1.3 @@ -44,9 +44,8 @@ 1.4 assert(this->is_Java_thread(), "must be JavaThread"); 1.5 JavaThread* jt = (JavaThread *)this; 1.6 1.7 - // last_Java_frame is always walkable and safe use it if we have it 1.8 - 1.9 - if (jt->has_last_Java_frame()) { 1.10 + // There is small window where last_Java_frame is not walkable or safe 1.11 + if (jt->has_last_Java_frame() && jt->frame_anchor()->walkable()) { 1.12 *fr_addr = jt->pd_last_frame(); 1.13 return true; 1.14 }