hotspot/src/cpu/ppc/vm/frame_ppc.inline.hpp
changeset 46620 750c6edff33b
parent 38144 0976c0c5c5d3
child 46625 edefffab74e2
equal deleted inserted replaced
46619:a3919f5e8d2b 46620:750c6edff33b
   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;