< prev index next >

src/hotspot/os_cpu/bsd_x86/thread_bsd_x86.hpp

Print this page

        

@@ -31,11 +31,16 @@
   }
 
   frame pd_last_frame() {
     assert(has_last_Java_frame(), "must have last_Java_sp() when suspended");
     vmassert(_anchor.last_Java_pc() != NULL, "not walkable");
-    return frame(_anchor.last_Java_sp(), _anchor.last_Java_fp(), _anchor.last_Java_pc());
+    intptr_t* sp = _anchor.last_Java_sp();
+    intptr_t* fp = _anchor.last_Java_fp();
+    address pc = _anchor.last_Java_pc();
+
+    // check_frame(sp, fp, _anchor.last_Java_pc());
+    return frame(sp, fp, _anchor.last_Java_pc());
   }
 
  public:
   // Mutators are highly dangerous....
   intptr_t* last_Java_fp()                       { return _anchor.last_Java_fp(); }
< prev index next >