Mercurial > hg > truffle
comparison src/share/vm/runtime/frame.hpp @ 1972:f95d63e2154a
6989984: Use standard include model for Hospot
Summary: Replaced MakeDeps and the includeDB files with more standardized solutions.
Reviewed-by: coleenp, kvn, kamg
author | stefank |
---|---|
date | Tue, 23 Nov 2010 13:22:55 -0800 |
parents | da877bdc9000 |
children | 09b4dd4f152b |
comparison
equal
deleted
inserted
replaced
1971:e33f46fc48ed | 1972:f95d63e2154a |
---|---|
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 |
449 | 487 |
450 // Query | 488 // Query |
451 frame *current() { return &_fr; } | 489 frame *current() { return &_fr; } |
452 RegisterMap* register_map() { return &_reg_map; } | 490 RegisterMap* register_map() { return &_reg_map; } |
453 }; | 491 }; |
492 | |
493 #endif // SHARE_VM_RUNTIME_FRAME_HPP |