< prev index next >

src/hotspot/cpu/arm/sharedRuntime_arm.cpp

Print this page
rev 51719 : [mq]: 8210676

@@ -1564,11 +1564,11 @@
   const Register sync_handle = AARCH64_ONLY(R20) NOT_AARCH64(R5);
   const Register sync_obj    = AARCH64_ONLY(R21) NOT_AARCH64(R6);
   const Register disp_hdr    = AARCH64_ONLY(R22) NOT_AARCH64(altFP_7_11);
   const Register tmp         = AARCH64_ONLY(R23) NOT_AARCH64(R8);
 
-  Label slow_lock, slow_lock_biased, lock_done, fast_lock, leave;
+  Label slow_lock, slow_lock_biased, lock_done, fast_lock;
   if (method->is_synchronized()) {
     // The first argument is a handle to sync object (a class or an instance)
     __ ldr(sync_obj, Address(R1));
     // Remember the handle for the unlocking code
     __ mov(sync_handle, R1);

@@ -1684,11 +1684,11 @@
 
   __ cmp(R2, JavaThread::stack_guard_yellow_reserved_disabled);
   __ b(reguard, eq);
   __ bind(reguard_done);
 
-  Label slow_unlock, unlock_done, retry;
+  Label slow_unlock, unlock_done;
   if (method->is_synchronized()) {
     __ ldr(sync_obj, Address(sync_handle));
 
     if(UseBiasedLocking) {
       __ biased_locking_exit(sync_obj, Rtemp, unlock_done);
< prev index next >