[jdk11u-dev] RFR: 8297730: C2: Arraycopy intrinsic throws incorrect exception
Goetz Lindenmaier
goetz at openjdk.org
Mon Jun 5 16:33:27 UTC 2023
On Fri, 2 Jun 2023 15:09:12 GMT, Goetz Lindenmaier <goetz at openjdk.org> wrote:
> I backport this for parity with 11.0.20-oracle.
>
> I had to resolve library_call.cpp:
>
> 11 has an additional check:
> if (slow_region != NULL && slow_region->find_edge(not_ctl) >= 1) {
> ctl = iff->in(0); // This test feeds the known slow_region.
> continue;
> }
> which was removed in 17 by "8263615: Cleanup tightly_coupled_allocation"
> I reworked the code to keep this.
>
> The changes to library_call.hpp need to be done in library_call.cpp
> as the header is only created later.
>
> I had to replace nullptr.
Thanks for the reviews!
-------------
PR Comment: https://git.openjdk.org/jdk11u-dev/pull/1926#issuecomment-1577112185
More information about the jdk-updates-dev
mailing list