mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 19:44:41 +02:00
8138895: C1: PPC64 Port needs special register for Locks in synchronization code
Reviewed-by: vlivanov, goetz
This commit is contained in:
parent
28115bceae
commit
f6cb49ba48
5 changed files with 8 additions and 4 deletions
|
@ -2802,7 +2802,7 @@ void LIRGenerator::do_Base(Base* x) {
|
|||
assert(obj->is_valid(), "must be valid");
|
||||
|
||||
if (method()->is_synchronized() && GenerateSynchronizationCode) {
|
||||
LIR_Opr lock = new_register(T_INT);
|
||||
LIR_Opr lock = syncLockOpr();
|
||||
__ load_stack_address_monitor(0, lock);
|
||||
|
||||
CodeEmitInfo* info = new CodeEmitInfo(scope()->start()->state()->copy(ValueStack::StateBefore, SynchronizationEntryBCI), NULL, x->check_flag(Instruction::DeoptimizeOnException));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue