hotspot/src/cpu/x86/vm/javaFrameAnchor_x86.hpp
changeset 40644 39e631ed7145
parent 7397 5b173b4ca846
--- a/hotspot/src/cpu/x86/vm/javaFrameAnchor_x86.hpp	Mon Aug 15 14:08:01 2016 -0700
+++ b/hotspot/src/cpu/x86/vm/javaFrameAnchor_x86.hpp	Tue Aug 16 09:19:13 2016 -0700
@@ -62,10 +62,9 @@
     _last_Java_sp = src->_last_Java_sp;
   }
 
-  // Always walkable
-  bool walkable(void) { return true; }
-  // Never any thing to do since we are always walkable and can find address of return addresses
-  void make_walkable(JavaThread* thread) { }
+  bool walkable(void)                            { return _last_Java_sp != NULL && _last_Java_pc != NULL; }
+  void make_walkable(JavaThread* thread);
+  void capture_last_Java_pc(void);
 
   intptr_t* last_Java_sp(void) const             { return _last_Java_sp; }