< prev index next >

src/hotspot/cpu/ppc/sharedRuntime_ppc.cpp

Print this page
@@ -1656,11 +1656,10 @@
                                         masm->code(),
                                         vep_offset,
                                         frame_complete,
                                         stack_slots / VMRegImpl::slots_per_word,
                                         in_ByteSize(-1),
-                                        in_ByteSize(-1),
                                         (OopMapSet*)NULL);
    }
  
    address native_func = method->native_function();
    assert(native_func != NULL, "must have function");

@@ -1753,18 +1752,10 @@
      klass_slot_offset  = stack_slots;
      klass_offset       = klass_slot_offset * VMRegImpl::stack_slot_size;
      stack_slots       += VMRegImpl::slots_per_word;
    }
  
-   int lock_slot_offset = 0;
-   int lock_offset      = -1;
-   if (method->is_synchronized()) {                                                // 5)
-     lock_slot_offset   = stack_slots;
-     lock_offset        = lock_slot_offset * VMRegImpl::stack_slot_size;
-     stack_slots       += VMRegImpl::slots_per_word;
-   }
- 
    int workspace_slot_offset = stack_slots;                                        // 6)
    stack_slots         += 2;
  
    // Now compute actual number of stack words we need.
    // Rounding to make stack properly aligned.

@@ -2012,13 +2003,10 @@
      // Load the oop for the object or class. r_carg2_classorobject contains
      // either the handlized oop from the incoming arguments or the handlized
      // class mirror (if the method is static).
      __ ld(r_oop, 0, r_carg2_classorobject);
  
-     // Get the lock box slot's address.
-     __ addi(r_box, R1_SP, lock_offset);
- 
      // Try fastpath for locking.
      // fast_lock kills r_temp_1, r_temp_2, r_temp_3.
      __ compiler_fast_lock_object(r_flag, r_oop, r_box, r_temp_1, r_temp_2, r_temp_3);
      __ beq(r_flag, locked);
  

@@ -2226,11 +2214,10 @@
        __ ld(r_oop, klass_offset, R1_SP);
      } else {
        assert(receiver_offset != -1, "");
        __ ld(r_oop, receiver_offset, R1_SP);
      }
-     __ addi(r_box, R1_SP, lock_offset);
  
      // Try fastpath for unlocking.
      __ compiler_fast_unlock_object(r_flag, r_oop, r_box, r_temp_1, r_temp_2, r_temp_3);
      __ beq(r_flag, done);
  

@@ -2340,11 +2327,10 @@
                                              masm->code(),
                                              vep_start_pc-start_pc,
                                              frame_done_pc-start_pc,
                                              stack_slots / VMRegImpl::slots_per_word,
                                              (method_is_static ? in_ByteSize(klass_offset) : in_ByteSize(receiver_offset)),
-                                             in_ByteSize(lock_offset),
                                              oop_maps);
  
    return nm;
  }
  
< prev index next >