src/share/vm/opto/connode.cpp
Print this page
rev 3419 : 7023898: Intrinsify AtomicLongFieldUpdater.getAndIncrement()
Summary: use shorter instruction sequences for atomic add and atomic exchange when possible.
Reviewed-by:
*** 477,487 ****
int opc = n->Opcode();
possible_alias = n->is_Phi() ||
opc == Op_CheckCastPP ||
opc == Op_StorePConditional ||
opc == Op_CompareAndSwapP ||
! opc == Op_CompareAndSwapN;
}
return possible_alias;
}
//------------------------------Value------------------------------------------
--- 477,489 ----
int opc = n->Opcode();
possible_alias = n->is_Phi() ||
opc == Op_CheckCastPP ||
opc == Op_StorePConditional ||
opc == Op_CompareAndSwapP ||
! opc == Op_CompareAndSwapN ||
! opc == Op_GetAndSetP ||
! opc == Op_GetAndSetN;
}
return possible_alias;
}
//------------------------------Value------------------------------------------