src/cpu/x86/vm/javaFrameAnchor_x86.hpp

changeset 8987
9ffa0d7ed932
parent 8877
f04097176542
child 9041
95a08233f46c
     1.1 --- a/src/cpu/x86/vm/javaFrameAnchor_x86.hpp	Mon Jun 19 22:49:52 2017 +0000
     1.2 +++ b/src/cpu/x86/vm/javaFrameAnchor_x86.hpp	Mon Jun 26 02:04:40 2017 -0700
     1.3 @@ -62,10 +62,9 @@
     1.4      _last_Java_sp = src->_last_Java_sp;
     1.5    }
     1.6  
     1.7 -  // Always walkable
     1.8 -  bool walkable(void) { return true; }
     1.9 -  // Never any thing to do since we are always walkable and can find address of return addresses
    1.10 -  void make_walkable(JavaThread* thread) { }
    1.11 +  bool walkable(void)                            { return _last_Java_sp != NULL && _last_Java_pc != NULL; }
    1.12 +  void make_walkable(JavaThread* thread);
    1.13 +  void capture_last_Java_pc(void);
    1.14  
    1.15    intptr_t* last_Java_sp(void) const             { return _last_Java_sp; }
    1.16  

mercurial