< prev index next >

src/cpu/ppc/vm/macroAssembler_ppc.cpp

Print this page
rev 9370 : 8259568: PPC64 builds broken after JDK-8221408 8u backport

*** 2044,2055 **** // We did not see an unlocked object so try the fast recursive case. // Check if the owner is self by comparing the value in the markOop of object // (current_header) with the stack pointer. sub(current_header, current_header, R1_SP); ! load_const_optimized(temp, (address) (~(os::vm_page_size()-1) | ! markOopDesc::lock_mask_in_place)); and_(R0/*==0?*/, current_header, temp); // If condition is true we are cont and hence we can store 0 as the // displaced header in the box, which indicates that it is a recursive lock. mcrf(flag,CCR0); --- 2044,2054 ---- // We did not see an unlocked object so try the fast recursive case. // Check if the owner is self by comparing the value in the markOop of object // (current_header) with the stack pointer. sub(current_header, current_header, R1_SP); ! load_const_optimized(temp, ~(os::vm_page_size()-1) | markOopDesc::lock_mask_in_place); and_(R0/*==0?*/, current_header, temp); // If condition is true we are cont and hence we can store 0 as the // displaced header in the box, which indicates that it is a recursive lock. mcrf(flag,CCR0);
< prev index next >