13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
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_HPP
26 #define SHARE_VM_RUNTIME_FRAME_HPP
27
28 #include "oops/method.hpp"
29 #include "runtime/basicLock.hpp"
30 #include "runtime/monitorChunk.hpp"
31 #include "runtime/registerMap.hpp"
32 #include "utilities/top.hpp"
33 #ifdef ZERO
34 #ifdef TARGET_ARCH_zero
35 # include "stack_zero.hpp"
36 #endif
37 #endif
38
39 typedef class BytecodeInterpreter* interpreterState;
40
41 class CodeBlob;
42 class FrameValues;
43 class vframeArray;
44
45
46 // A frame represents a physical stack frame (an activation). Frames
47 // can be C or Java frames, and the Java frames can be interpreted or
48 // compiled. In contrast, vframes represent source-level activations,
49 // so that one physical frame can correspond to multiple source level
50 // frames because of inlining.
51
52 class frame VALUE_OBJ_CLASS_SPEC {
53 private:
54 // Instance variables:
55 intptr_t* _sp; // stack pointer (from Thread::last_Java_sp)
56 address _pc; // program counter (the next instruction after the call)
|
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
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_HPP
26 #define SHARE_VM_RUNTIME_FRAME_HPP
27
28 #include "oops/method.hpp"
29 #include "runtime/basicLock.hpp"
30 #include "runtime/monitorChunk.hpp"
31 #include "runtime/registerMap.hpp"
32 #include "utilities/top.hpp"
33 #ifdef TARGET_ARCH_zero
34 # include "stack_zero.hpp"
35 #endif
36
37 typedef class BytecodeInterpreter* interpreterState;
38
39 class CodeBlob;
40 class FrameValues;
41 class vframeArray;
42
43
44 // A frame represents a physical stack frame (an activation). Frames
45 // can be C or Java frames, and the Java frames can be interpreted or
46 // compiled. In contrast, vframes represent source-level activations,
47 // so that one physical frame can correspond to multiple source level
48 // frames because of inlining.
49
50 class frame VALUE_OBJ_CLASS_SPEC {
51 private:
52 // Instance variables:
53 intptr_t* _sp; // stack pointer (from Thread::last_Java_sp)
54 address _pc; // program counter (the next instruction after the call)
|