1.1 --- a/src/cpu/sparc/vm/assembler_sparc.hpp Thu Nov 06 20:00:03 2008 -0800 1.2 +++ b/src/cpu/sparc/vm/assembler_sparc.hpp Fri Nov 07 09:29:38 2008 -0800 1.3 @@ -2220,9 +2220,13 @@ 1.4 1.5 // These set the icc condition code to equal if the lock succeeded 1.6 // and notEqual if it failed and requires a slow case 1.7 - void compiler_lock_object(Register Roop, Register Rmark, Register Rbox, Register Rscratch, 1.8 - BiasedLockingCounters* counters = NULL); 1.9 - void compiler_unlock_object(Register Roop, Register Rmark, Register Rbox, Register Rscratch); 1.10 + void compiler_lock_object(Register Roop, Register Rmark, Register Rbox, 1.11 + Register Rscratch, 1.12 + BiasedLockingCounters* counters = NULL, 1.13 + bool try_bias = UseBiasedLocking); 1.14 + void compiler_unlock_object(Register Roop, Register Rmark, Register Rbox, 1.15 + Register Rscratch, 1.16 + bool try_bias = UseBiasedLocking); 1.17 1.18 // Biased locking support 1.19 // Upon entry, lock_reg must point to the lock record on the stack,