< prev index next >

src/hotspot/share/c1/c1_Runtime1.cpp

Print this page

        

*** 703,712 **** --- 703,715 ---- NOT_PRODUCT(_monitorenter_slowcase_cnt++;) if (PrintBiasedLockingStatistics) { Atomic::inc(BiasedLocking::slow_path_entry_count_addr()); } Handle h_obj(thread, obj); + if (!UseFastLocking) { + lock->set_obj(obj); + } assert(obj == lock->obj(), "must match"); ObjectSynchronizer::enter(h_obj, lock->lock(), THREAD); JRT_END
< prev index next >