< prev index next >

src/hotspot/cpu/aarch64/frame_aarch64.hpp

Print this page

 56 //    [old frame pointer     ]   <- fp           = link()
 57 //    [return pc             ]
 58 
 59 //    [last sp               ]
 60 //    [oop temp              ]                     (only for native calls)
 61 
 62 //    [padding               ]                     (to preserve machine SP alignment)
 63 //    [locals and parameters ]
 64 //                               <- sender sp
 65 // ------------------------------ Asm interpreter ----------------------------------------
 66 
 67  public:
 68   enum {
 69     pc_return_offset                                 =  0,
 70     // All frames
 71     link_offset                                      =  0,
 72     return_addr_offset                               =  1,
 73     sender_sp_offset                                 =  2,
 74 
 75     // Interpreter frames
 76     interpreter_frame_oop_temp_offset                =  3, // for native calls only

 77 
 78     interpreter_frame_sender_sp_offset               = -1,
 79     // outgoing sp before a call to an invoked method
 80     interpreter_frame_last_sp_offset                 = interpreter_frame_sender_sp_offset - 1,
 81     interpreter_frame_method_offset                  = interpreter_frame_last_sp_offset - 1,
 82     interpreter_frame_mdp_offset                     = interpreter_frame_method_offset - 1,
 83     interpreter_frame_extended_sp_offset             = interpreter_frame_mdp_offset - 1,
 84     interpreter_frame_mirror_offset                  = interpreter_frame_extended_sp_offset - 1,
 85     interpreter_frame_cache_offset                   = interpreter_frame_mirror_offset - 1,
 86     interpreter_frame_locals_offset                  = interpreter_frame_cache_offset - 1,
 87     interpreter_frame_bcp_offset                     = interpreter_frame_locals_offset - 1,
 88     interpreter_frame_initial_sp_offset              = interpreter_frame_bcp_offset - 1,
 89 
 90     interpreter_frame_monitor_block_top_offset       = interpreter_frame_initial_sp_offset,
 91     interpreter_frame_monitor_block_bottom_offset    = interpreter_frame_initial_sp_offset,
 92 
 93     // Entry frames
 94     // n.b. these values are determined by the layout defined in
 95     // stubGenerator for the Java call stub
 96     entry_frame_after_call_words                     = 29,

 56 //    [old frame pointer     ]   <- fp           = link()
 57 //    [return pc             ]
 58 
 59 //    [last sp               ]
 60 //    [oop temp              ]                     (only for native calls)
 61 
 62 //    [padding               ]                     (to preserve machine SP alignment)
 63 //    [locals and parameters ]
 64 //                               <- sender sp
 65 // ------------------------------ Asm interpreter ----------------------------------------
 66 
 67  public:
 68   enum {
 69     pc_return_offset                                 =  0,
 70     // All frames
 71     link_offset                                      =  0,
 72     return_addr_offset                               =  1,
 73     sender_sp_offset                                 =  2,
 74 
 75     // Interpreter frames
 76     interpreter_frame_result_handler_offset          =  3, // for native calls only
 77     interpreter_frame_oop_temp_offset                =  2, // for native calls only
 78 
 79     interpreter_frame_sender_sp_offset               = -1,
 80     // outgoing sp before a call to an invoked method
 81     interpreter_frame_last_sp_offset                 = interpreter_frame_sender_sp_offset - 1,
 82     interpreter_frame_method_offset                  = interpreter_frame_last_sp_offset - 1,
 83     interpreter_frame_mdp_offset                     = interpreter_frame_method_offset - 1,
 84     interpreter_frame_extended_sp_offset             = interpreter_frame_mdp_offset - 1,
 85     interpreter_frame_mirror_offset                  = interpreter_frame_extended_sp_offset - 1,
 86     interpreter_frame_cache_offset                   = interpreter_frame_mirror_offset - 1,
 87     interpreter_frame_locals_offset                  = interpreter_frame_cache_offset - 1,
 88     interpreter_frame_bcp_offset                     = interpreter_frame_locals_offset - 1,
 89     interpreter_frame_initial_sp_offset              = interpreter_frame_bcp_offset - 1,
 90 
 91     interpreter_frame_monitor_block_top_offset       = interpreter_frame_initial_sp_offset,
 92     interpreter_frame_monitor_block_bottom_offset    = interpreter_frame_initial_sp_offset,
 93 
 94     // Entry frames
 95     // n.b. these values are determined by the layout defined in
 96     // stubGenerator for the Java call stub
 97     entry_frame_after_call_words                     = 29,
< prev index next >