Lines Matching refs:monitor_index
50 // occupies two words. The monitor_index is 0.._num_monitors
120 void check_monitor_index (int monitor_index) const { assert(monitor_index >= 0 &&
121 monitor_index < _num_monitors, "bad index"); }
161 ByteSize sp_offset_for_monitor_lock(int monitor_index) const;
162 ByteSize sp_offset_for_monitor_object(int monitor_index) const;
218 Address address_for_monitor_lock(int monitor_index) const {
219 return make_new_address(sp_offset_for_monitor_lock(monitor_index));
221 Address address_for_monitor_object(int monitor_index) const {
222 return make_new_address(sp_offset_for_monitor_object(monitor_index));
232 bool location_for_monitor_lock (int monitor_index, Location* loc) const {
233 return location_for_sp_offset(sp_offset_for_monitor_lock(monitor_index), Location::normal, loc);
235 bool location_for_monitor_object(int monitor_index, Location* loc) const {
236 return location_for_sp_offset(sp_offset_for_monitor_object(monitor_index), Location::oop, loc);
244 VMReg monitor_object_regname(int monitor_index) const {
245 return sp_offset2vmreg(sp_offset_for_monitor_object(monitor_index));