--- old/src/hotspot/cpu/x86/macroAssembler_x86.hpp 2019-10-17 17:28:41.000000000 -0400 +++ new/src/hotspot/cpu/x86/macroAssembler_x86.hpp 2019-10-17 17:28:41.000000000 -0400 @@ -681,6 +681,7 @@ BiasedLockingCounters* counters = NULL); void biased_locking_exit (Register obj_reg, Register temp_reg, Label& done); #ifdef COMPILER2 + void inc_om_ref_count(Register obj_reg, Register om_reg, Register temp_reg, Label& done); // Code used by cmpFastLock and cmpFastUnlock mach instructions in .ad file. // See full desription in macroAssembler_x86.cpp. void fast_lock(Register obj, Register box, Register tmp,