src/os_cpu/windows_x86/vm/thread_windows_x86.cpp

changeset 8987
9ffa0d7ed932
parent 8877
f04097176542
child 9041
95a08233f46c
     1.1 --- a/src/os_cpu/windows_x86/vm/thread_windows_x86.cpp	Mon Jun 19 22:49:52 2017 +0000
     1.2 +++ b/src/os_cpu/windows_x86/vm/thread_windows_x86.cpp	Mon Jun 26 02:04:40 2017 -0700
     1.3 @@ -47,7 +47,7 @@
     1.4  
     1.5    // If we have a last_Java_frame, then we should use it even if
     1.6    // isInJava == true.  It should be more reliable than CONTEXT info.
     1.7 -  if (jt->has_last_Java_frame()) {
     1.8 +  if (jt->has_last_Java_frame() && jt->frame_anchor()->walkable()) {
     1.9      *fr_addr = jt->pd_last_frame();
    1.10      return true;
    1.11    }

mercurial