equal
deleted
inserted
replaced
191 return &interpreter_frame_tos_address()[offset]; |
191 return &interpreter_frame_tos_address()[offset]; |
192 } |
192 } |
193 |
193 |
194 inline int frame::interpreter_frame_monitor_size() { |
194 inline int frame::interpreter_frame_monitor_size() { |
195 // Number of stack slots for a monitor. |
195 // Number of stack slots for a monitor. |
196 return round_to(BasicObjectLock::size(), // number of stack slots |
196 return align_up(BasicObjectLock::size(), // number of stack slots |
197 WordsPerLong); // number of stack slots for a Java long |
197 WordsPerLong); // number of stack slots for a Java long |
198 } |
198 } |
199 |
199 |
200 inline int frame::interpreter_frame_monitor_size_in_bytes() { |
200 inline int frame::interpreter_frame_monitor_size_in_bytes() { |
201 return frame::interpreter_frame_monitor_size() * wordSize; |
201 return frame::interpreter_frame_monitor_size() * wordSize; |