1.1 --- a/src/cpu/x86/vm/macroAssembler_x86.hpp Thu Mar 06 12:45:59 2014 +0400 1.2 +++ b/src/cpu/x86/vm/macroAssembler_x86.hpp Mon Feb 24 15:12:26 2014 -0800 1.3 @@ -651,7 +651,12 @@ 1.4 Label& done, Label* slow_case = NULL, 1.5 BiasedLockingCounters* counters = NULL); 1.6 void biased_locking_exit (Register obj_reg, Register temp_reg, Label& done); 1.7 - 1.8 +#ifdef COMPILER2 1.9 + // Code used by cmpFastLock and cmpFastUnlock mach instructions in .ad file. 1.10 + // See full desription in macroAssembler_x86.cpp. 1.11 + void fast_lock(Register obj, Register box, Register tmp, Register scr, BiasedLockingCounters* counters); 1.12 + void fast_unlock(Register obj, Register box, Register tmp); 1.13 +#endif 1.14 1.15 Condition negate_condition(Condition cond); 1.16