--- old/src/hotspot/cpu/x86/macroAssembler_x86.hpp 2019-12-11 14:52:02.000000000 -0500 +++ new/src/hotspot/cpu/x86/macroAssembler_x86.hpp 2019-12-11 14:52:01.000000000 -0500 @@ -682,6 +682,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,