8332670: C1 clone intrinsic needs memory barriers

Reviewed-by: shade, thartmann, aph
This commit is contained in:
Galder Zamarreño 2024-06-06 15:02:22 +00:00 committed by Martin Doerr
parent 33fd6ae986
commit 606df44141

View File

@ -4472,6 +4472,7 @@ void GraphBuilder::append_alloc_array_copy(ciMethod* callee) {
array_copy->set_flag(Instruction::OmitChecksFlag, true);
append_split(array_copy);
apush(new_array);
append(new MemBar(lir_membar_storestore));
}
void GraphBuilder::print_inlining(ciMethod* callee, const char* msg, bool success) {