8330185: Potential uncaught unsafe memory copy exception

Reviewed-by: kvn, sviswanathan
This commit is contained in:
Scott Gibbons 2024-04-13 00:48:52 +00:00 committed by Vladimir Kozlov
parent 28b2019559
commit b9ef9f667e

View File

@ -728,7 +728,8 @@ address StubGenerator::generate_disjoint_copy_avx3_masked(address* entry, const
if (MaxVectorSize == 64) {
__ BIND(L_copy_large);
arraycopy_avx3_large(to, from, temp1, temp2, temp3, temp4, count, xmm1, xmm2, xmm3, xmm4, shift);
UnsafeCopyMemoryMark ucmm(this, !is_oop && !aligned, false, ucme_exit_pc);
arraycopy_avx3_large(to, from, temp1, temp2, temp3, temp4, count, xmm1, xmm2, xmm3, xmm4, shift);
__ jmp(L_finish);
}
return start;