8332670: C1 clone intrinsic needs memory barriers
Reviewed-by: shade, thartmann, aph
This commit is contained in:
parent
33fd6ae986
commit
606df44141
@ -4472,6 +4472,7 @@ void GraphBuilder::append_alloc_array_copy(ciMethod* callee) {
|
|||||||
array_copy->set_flag(Instruction::OmitChecksFlag, true);
|
array_copy->set_flag(Instruction::OmitChecksFlag, true);
|
||||||
append_split(array_copy);
|
append_split(array_copy);
|
||||||
apush(new_array);
|
apush(new_array);
|
||||||
|
append(new MemBar(lir_membar_storestore));
|
||||||
}
|
}
|
||||||
|
|
||||||
void GraphBuilder::print_inlining(ciMethod* callee, const char* msg, bool success) {
|
void GraphBuilder::print_inlining(ciMethod* callee, const char* msg, bool success) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user