mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
Merge
This commit is contained in:
commit
6d0283ed8e
626 changed files with 20654 additions and 4975 deletions
|
@ -140,7 +140,12 @@ static void do_oop_store(InterpreterMacroAssembler* _masm,
|
|||
}
|
||||
__ get_thread(rcx);
|
||||
__ save_bcp();
|
||||
__ g1_write_barrier_pre(rdx, rcx, rsi, rbx, val != noreg);
|
||||
__ g1_write_barrier_pre(rdx /* obj */,
|
||||
rbx /* pre_val */,
|
||||
rcx /* thread */,
|
||||
rsi /* tmp */,
|
||||
val != noreg /* tosca_live */,
|
||||
false /* expand_call */);
|
||||
|
||||
// Do the actual store
|
||||
// noreg means NULL
|
||||
|
@ -149,7 +154,11 @@ static void do_oop_store(InterpreterMacroAssembler* _masm,
|
|||
// No post barrier for NULL
|
||||
} else {
|
||||
__ movl(Address(rdx, 0), val);
|
||||
__ g1_write_barrier_post(rdx, rax, rcx, rbx, rsi);
|
||||
__ g1_write_barrier_post(rdx /* store_adr */,
|
||||
val /* new_val */,
|
||||
rcx /* thread */,
|
||||
rbx /* tmp */,
|
||||
rsi /* tmp2 */);
|
||||
}
|
||||
__ restore_bcp();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue