mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
8023472: C2 optimization breaks with G1
Set control edge for previous value load in G1 pre-barrier Reviewed-by: twisti
This commit is contained in:
parent
ccfb92c6a9
commit
dac98bcc0d
2 changed files with 85 additions and 1 deletions
|
@ -3595,7 +3595,7 @@ void GraphKit::g1_write_barrier_pre(bool do_load,
|
|||
if (do_load) {
|
||||
// load original value
|
||||
// alias_idx correct??
|
||||
pre_val = __ load(no_ctrl, adr, val_type, bt, alias_idx);
|
||||
pre_val = __ load(__ ctrl(), adr, val_type, bt, alias_idx);
|
||||
}
|
||||
|
||||
// if (pre_val != NULL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue