hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/sparc/SPARCFrame.java
equal
deleted
inserted
replaced
843 // // in keeping with Intel side: end is lower in memory than begin; |
843 // // in keeping with Intel side: end is lower in memory than begin; |
844 // // and beginning element is oldest element |
844 // // and beginning element is oldest element |
845 // // Also begin is one past last monitor. |
845 // // Also begin is one past last monitor. |
846 // |
846 // |
847 // inline BasicObjectLock* frame::interpreter_frame_monitor_begin() const { |
847 // inline BasicObjectLock* frame::interpreter_frame_monitor_begin() const { |
848 // int rounded_vm_local_words = round_to(frame::interpreter_frame_vm_local_words, WordsPerLong); |
848 // int rounded_vm_local_words = align_up(frame::interpreter_frame_vm_local_words, WordsPerLong); |
849 // return (BasicObjectLock *)fp_addr_at(-rounded_vm_local_words); |
849 // return (BasicObjectLock *)fp_addr_at(-rounded_vm_local_words); |
850 // } |
850 // } |
851 // |
851 // |
852 // inline BasicObjectLock* frame::interpreter_frame_monitor_end() const { |
852 // inline BasicObjectLock* frame::interpreter_frame_monitor_end() const { |
853 // return interpreter_frame_monitors(); |
853 // return interpreter_frame_monitors(); |
858 // interpreter_frame_set_monitors(value); |
858 // interpreter_frame_set_monitors(value); |
859 // } |
859 // } |
860 // |
860 // |
861 // |
861 // |
862 // inline int frame::interpreter_frame_monitor_size() { |
862 // inline int frame::interpreter_frame_monitor_size() { |
863 // return round_to(BasicObjectLock::size(), WordsPerLong); |
863 // return align_up(BasicObjectLock::size(), WordsPerLong); |
864 // } |
864 // } |
865 |
865 |
866 public Address addressOfInterpreterFrameMethod() { |
866 public Address addressOfInterpreterFrameMethod() { |
867 return getSP().addOffsetTo(SPARCRegisters.Lmethod.spOffsetInSavedWindow()); |
867 return getSP().addOffsetTo(SPARCRegisters.Lmethod.spOffsetInSavedWindow()); |
868 } |
868 } |