< prev index next >

src/hotspot/cpu/aarch64/aarch64.ad

Print this page

        

*** 3567,3577 **** /*release*/ true, /*weak*/ false, noreg); // Sets flags for result // Store a non-null value into the box to avoid looking like a re-entrant // lock. The fast-path monitor unlock code checks for // markWord::monitor_value so use markWord::unused_mark which has the ! // relevant bit set, and also matches ObjectSynchronizer::slow_enter. __ mov(tmp, (address)markWord::unused_mark().value()); __ str(tmp, Address(box, BasicLock::displaced_header_offset_in_bytes())); __ bind(cont); // flag == EQ indicates success --- 3567,3577 ---- /*release*/ true, /*weak*/ false, noreg); // Sets flags for result // Store a non-null value into the box to avoid looking like a re-entrant // lock. The fast-path monitor unlock code checks for // markWord::monitor_value so use markWord::unused_mark which has the ! // relevant bit set, and also matches ObjectSynchronizer::enter. __ mov(tmp, (address)markWord::unused_mark().value()); __ str(tmp, Address(box, BasicLock::displaced_header_offset_in_bytes())); __ bind(cont); // flag == EQ indicates success
< prev index next >