20 * or visit www.oracle.com if you need additional information or have any |
20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. |
21 * questions. |
22 * |
22 * |
23 */ |
23 */ |
24 |
24 |
|
25 #ifndef SHARE_VM_RUNTIME_FRAME_HPP |
|
26 #define SHARE_VM_RUNTIME_FRAME_HPP |
|
27 |
|
28 #include "asm/assembler.hpp" |
|
29 #include "oops/methodOop.hpp" |
|
30 #include "runtime/basicLock.hpp" |
|
31 #include "runtime/monitorChunk.hpp" |
|
32 #include "runtime/registerMap.hpp" |
|
33 #include "utilities/top.hpp" |
|
34 #ifdef COMPILER2 |
|
35 #ifdef TARGET_ARCH_MODEL_x86_32 |
|
36 # include "adfiles/adGlobals_x86_32.hpp" |
|
37 #endif |
|
38 #ifdef TARGET_ARCH_MODEL_x86_64 |
|
39 # include "adfiles/adGlobals_x86_64.hpp" |
|
40 #endif |
|
41 #ifdef TARGET_ARCH_MODEL_sparc |
|
42 # include "adfiles/adGlobals_sparc.hpp" |
|
43 #endif |
|
44 #ifdef TARGET_ARCH_MODEL_zero |
|
45 # include "adfiles/adGlobals_zero.hpp" |
|
46 #endif |
|
47 #endif |
|
48 #ifdef ZERO |
|
49 #ifdef TARGET_ARCH_zero |
|
50 # include "stack_zero.hpp" |
|
51 #endif |
|
52 #endif |
|
53 |
25 typedef class BytecodeInterpreter* interpreterState; |
54 typedef class BytecodeInterpreter* interpreterState; |
26 |
55 |
27 class CodeBlob; |
56 class CodeBlob; |
28 class vframeArray; |
57 class vframeArray; |
29 |
58 |
417 // Usage: |
446 // Usage: |
418 // assert(frame::verify_return_pc(return_address), "must be a return pc"); |
447 // assert(frame::verify_return_pc(return_address), "must be a return pc"); |
419 |
448 |
420 int pd_oop_map_offset_adjustment() const; |
449 int pd_oop_map_offset_adjustment() const; |
421 |
450 |
422 # include "incls/_frame_pd.hpp.incl" |
451 #ifdef TARGET_ARCH_x86 |
|
452 # include "frame_x86.hpp" |
|
453 #endif |
|
454 #ifdef TARGET_ARCH_sparc |
|
455 # include "frame_sparc.hpp" |
|
456 #endif |
|
457 #ifdef TARGET_ARCH_zero |
|
458 # include "frame_zero.hpp" |
|
459 #endif |
|
460 |
423 }; |
461 }; |
424 |
462 |
425 |
463 |
426 // |
464 // |
427 // StackFrameStream iterates through the frames of a thread starting from |
465 // StackFrameStream iterates through the frames of a thread starting from |