< prev index next >
src/cpu/x86/vm/c1_MacroAssembler_x86.cpp
Print this page
rev 10524 : [backport] Some trivial-ish cleanups
@@ -120,11 +120,10 @@
if (!UseBiasedLocking) {
// load object
movptr(obj, Address(disp_hdr, BasicObjectLock::obj_offset_in_bytes()));
}
verify_oop(obj);
-
// test if object header is pointing to the displaced header, and if so, restore
// the displaced header in the object - if the object header is not pointing to
// the displaced header, get the object header instead
if (os::is_MP()) MacroAssembler::lock(); // must be immediately before cmpxchg!
cmpxchgptr(hdr, Address(obj, hdr_offset));
< prev index next >