--- old/src/hotspot/cpu/arm/sharedRuntime_arm.cpp 2018-09-13 14:21:44.096929200 -0700 +++ new/src/hotspot/cpu/arm/sharedRuntime_arm.cpp 2018-09-13 14:21:43.844929209 -0700 @@ -1566,7 +1566,7 @@ 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)); @@ -1686,7 +1686,7 @@ __ 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));