< prev index next >

src/hotspot/cpu/sparc/frame_sparc.inline.hpp

Print this page
rev 56101 : 8227745: Enable Escape Analysis for better performance when debugging
Reviewed-by: ???


 161 inline ConstantPoolCache** frame::interpreter_frame_cpoolcache_addr() const {
 162     return (ConstantPoolCache**)sp_addr_at(LcpoolCache->sp_offset_in_saved_window());
 163   }
 164 
 165 inline ConstantPoolCache** frame::interpreter_frame_cache_addr() const {
 166   return (ConstantPoolCache**)sp_addr_at( LcpoolCache->sp_offset_in_saved_window());
 167 }
 168 
 169 inline oop* frame::interpreter_frame_temp_oop_addr() const {
 170   return (oop *)(fp() + interpreter_frame_oop_temp_offset);
 171 }
 172 
 173 
 174 inline JavaCallWrapper** frame::entry_frame_call_wrapper_addr() const {
 175   // note: adjust this code if the link argument in StubGenerator::call_stub() changes!
 176   const Argument link = Argument(0, false);
 177   return (JavaCallWrapper**)&sp()[link.as_in().as_register()->sp_offset_in_saved_window()];
 178 }
 179 
 180 
 181 inline oop  frame::saved_oop_result(RegisterMap* map) const      {
 182   return *((oop*) map->location(O0->as_VMReg()));
 183 }
 184 
 185 inline void frame::set_saved_oop_result(RegisterMap* map, oop obj) {
 186   *((oop*) map->location(O0->as_VMReg())) = obj;
 187 }
 188 
 189 #endif // CPU_SPARC_FRAME_SPARC_INLINE_HPP


 161 inline ConstantPoolCache** frame::interpreter_frame_cpoolcache_addr() const {
 162     return (ConstantPoolCache**)sp_addr_at(LcpoolCache->sp_offset_in_saved_window());
 163   }
 164 
 165 inline ConstantPoolCache** frame::interpreter_frame_cache_addr() const {
 166   return (ConstantPoolCache**)sp_addr_at( LcpoolCache->sp_offset_in_saved_window());
 167 }
 168 
 169 inline oop* frame::interpreter_frame_temp_oop_addr() const {
 170   return (oop *)(fp() + interpreter_frame_oop_temp_offset);
 171 }
 172 
 173 
 174 inline JavaCallWrapper** frame::entry_frame_call_wrapper_addr() const {
 175   // note: adjust this code if the link argument in StubGenerator::call_stub() changes!
 176   const Argument link = Argument(0, false);
 177   return (JavaCallWrapper**)&sp()[link.as_in().as_register()->sp_offset_in_saved_window()];
 178 }
 179 
 180 
 181 inline oop  frame::saved_oop_result(const RegisterMap* map) const      {
 182   return *((oop*) map->location(O0->as_VMReg()));
 183 }
 184 
 185 inline void frame::set_saved_oop_result(const RegisterMap* map, oop obj) {
 186   *((oop*) map->location(O0->as_VMReg())) = obj;
 187 }
 188 
 189 #endif // CPU_SPARC_FRAME_SPARC_INLINE_HPP
< prev index next >