[jdk11u-dev] Integrated: 8297730: C2: Arraycopy intrinsic throws incorrect exception

Goetz Lindenmaier goetz at openjdk.org
Mon Jun 5 16:33:29 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.

This pull request has now been integrated.

Changeset: d917caaf
Author:    Goetz Lindenmaier <goetz at openjdk.org>
URL:       https://git.openjdk.org/jdk11u-dev/commit/d917caaffe530c58367fec7f39020b591218a7ba
Stats:     476 lines in 2 files changed: 418 ins; 32 del; 26 mod

8297730: C2: Arraycopy intrinsic throws incorrect exception

Reviewed-by: roland, mdoerr
Backport-of: 5a478ef7759e64da6d17426673700ff0d9c66b33

-------------

PR: https://git.openjdk.org/jdk11u-dev/pull/1926


More information about the jdk-updates-dev mailing list