src/hotspot/cpu/ppc/macroAssembler_ppc.cpp
changeset 57959 6b539901e79e
parent 57777 90ead0febf56
child 58554 8c3c39710a08
equal deleted inserted replaced
57958:bfb76c34e5c5 57959:6b539901e79e
  2998 
  2998 
  2999   // Handle existing monitor.
  2999   // Handle existing monitor.
  3000   b(cont);
  3000   b(cont);
  3001 
  3001 
  3002   bind(object_has_monitor);
  3002   bind(object_has_monitor);
  3003   addi(current_header, current_header, -markWord::monitor_value); // monitor
  3003   STATIC_ASSERT(markWord::monitor_value <= INT_MAX);
       
  3004   addi(current_header, current_header, -(int)markWord::monitor_value); // monitor
  3004   ld(temp,             ObjectMonitor::owner_offset_in_bytes(), current_header);
  3005   ld(temp,             ObjectMonitor::owner_offset_in_bytes(), current_header);
  3005 
  3006 
  3006     // It's inflated.
  3007     // It's inflated.
  3007 #if INCLUDE_RTM_OPT
  3008 #if INCLUDE_RTM_OPT
  3008   if (use_rtm) {
  3009   if (use_rtm) {