< prev index next >

src/share/vm/runtime/frame.inline.hpp

Print this page




  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *
  23  */
  24 
  25 #ifndef SHARE_VM_RUNTIME_FRAME_INLINE_HPP
  26 #define SHARE_VM_RUNTIME_FRAME_INLINE_HPP
  27 
  28 #include "interpreter/bytecodeInterpreter.hpp"
  29 #include "interpreter/bytecodeInterpreter.inline.hpp"
  30 #include "interpreter/interpreter.hpp"
  31 #include "oops/method.hpp"
  32 #include "runtime/frame.hpp"
  33 #include "runtime/signature.hpp"
  34 #ifdef TARGET_ARCH_x86
  35 # include "jniTypes_x86.hpp"
  36 #endif



  37 #ifdef TARGET_ARCH_sparc
  38 # include "jniTypes_sparc.hpp"
  39 #endif
  40 #ifdef TARGET_ARCH_zero
  41 # include "jniTypes_zero.hpp"
  42 #endif
  43 #ifdef TARGET_ARCH_arm
  44 # include "jniTypes_arm.hpp"
  45 #endif
  46 #ifdef TARGET_ARCH_ppc
  47 # include "jniTypes_ppc.hpp"
  48 #endif
  49 #ifdef TARGET_ARCH_zero
  50 # include "entryFrame_zero.hpp"
  51 # include "fakeStubFrame_zero.hpp"
  52 # include "interpreterFrame_zero.hpp"
  53 # include "sharkFrame_zero.hpp"
  54 #endif
  55 
  56 // This file holds platform-independent bodies of inline functions for frames.


  79 
  80 inline bool frame::is_stub_frame() const {
  81   return StubRoutines::is_stub_code(pc()) || (_cb != NULL && _cb->is_adapter_blob());
  82 }
  83 
  84 inline bool frame::is_first_frame() const {
  85   return is_entry_frame() && entry_frame_is_first();
  86 }
  87 
  88 #ifdef CC_INTERP
  89 inline oop* frame::interpreter_frame_temp_oop_addr() const {
  90   interpreterState istate = get_interpreterState();
  91   return (oop *)&istate->_oop_temp;
  92 }
  93 #endif // CC_INTERP
  94 
  95 // here are the platform-dependent bodies:
  96 
  97 #ifdef TARGET_ARCH_x86
  98 # include "frame_x86.inline.hpp"



  99 #endif
 100 #ifdef TARGET_ARCH_sparc
 101 # include "frame_sparc.inline.hpp"
 102 #endif
 103 #ifdef TARGET_ARCH_zero
 104 # include "frame_zero.inline.hpp"
 105 #endif
 106 #ifdef TARGET_ARCH_arm
 107 # include "frame_arm.inline.hpp"
 108 #endif
 109 #ifdef TARGET_ARCH_ppc
 110 # include "frame_ppc.inline.hpp"
 111 #endif
 112 
 113 
 114 #endif // SHARE_VM_RUNTIME_FRAME_INLINE_HPP


  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *
  23  */
  24 
  25 #ifndef SHARE_VM_RUNTIME_FRAME_INLINE_HPP
  26 #define SHARE_VM_RUNTIME_FRAME_INLINE_HPP
  27 
  28 #include "interpreter/bytecodeInterpreter.hpp"
  29 #include "interpreter/bytecodeInterpreter.inline.hpp"
  30 #include "interpreter/interpreter.hpp"
  31 #include "oops/method.hpp"
  32 #include "runtime/frame.hpp"
  33 #include "runtime/signature.hpp"
  34 #ifdef TARGET_ARCH_x86
  35 # include "jniTypes_x86.hpp"
  36 #endif
  37 #ifdef TARGET_ARCH_aarch64
  38 # include "jniTypes_aarch64.hpp"
  39 #endif
  40 #ifdef TARGET_ARCH_sparc
  41 # include "jniTypes_sparc.hpp"
  42 #endif
  43 #ifdef TARGET_ARCH_zero
  44 # include "jniTypes_zero.hpp"
  45 #endif
  46 #ifdef TARGET_ARCH_arm
  47 # include "jniTypes_arm.hpp"
  48 #endif
  49 #ifdef TARGET_ARCH_ppc
  50 # include "jniTypes_ppc.hpp"
  51 #endif
  52 #ifdef TARGET_ARCH_zero
  53 # include "entryFrame_zero.hpp"
  54 # include "fakeStubFrame_zero.hpp"
  55 # include "interpreterFrame_zero.hpp"
  56 # include "sharkFrame_zero.hpp"
  57 #endif
  58 
  59 // This file holds platform-independent bodies of inline functions for frames.


  82 
  83 inline bool frame::is_stub_frame() const {
  84   return StubRoutines::is_stub_code(pc()) || (_cb != NULL && _cb->is_adapter_blob());
  85 }
  86 
  87 inline bool frame::is_first_frame() const {
  88   return is_entry_frame() && entry_frame_is_first();
  89 }
  90 
  91 #ifdef CC_INTERP
  92 inline oop* frame::interpreter_frame_temp_oop_addr() const {
  93   interpreterState istate = get_interpreterState();
  94   return (oop *)&istate->_oop_temp;
  95 }
  96 #endif // CC_INTERP
  97 
  98 // here are the platform-dependent bodies:
  99 
 100 #ifdef TARGET_ARCH_x86
 101 # include "frame_x86.inline.hpp"
 102 #endif
 103 #ifdef TARGET_ARCH_aarch64
 104 # include "frame_aarch64.inline.hpp"
 105 #endif
 106 #ifdef TARGET_ARCH_sparc
 107 # include "frame_sparc.inline.hpp"
 108 #endif
 109 #ifdef TARGET_ARCH_zero
 110 # include "frame_zero.inline.hpp"
 111 #endif
 112 #ifdef TARGET_ARCH_arm
 113 # include "frame_arm.inline.hpp"
 114 #endif
 115 #ifdef TARGET_ARCH_ppc
 116 # include "frame_ppc.inline.hpp"
 117 #endif
 118 
 119 
 120 #endif // SHARE_VM_RUNTIME_FRAME_INLINE_HPP
< prev index next >