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

Goetz Lindenmaier goetz at openjdk.org
Fri Jun 2 15:16:37 UTC 2023


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.

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

Commit messages:
 - Backport 5a478ef7759e64da6d17426673700ff0d9c66b33

Changes: https://git.openjdk.org/jdk11u-dev/pull/1926/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=1926&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8297730
  Stats: 476 lines in 2 files changed: 418 ins; 32 del; 26 mod
  Patch: https://git.openjdk.org/jdk11u-dev/pull/1926.diff
  Fetch: git fetch https://git.openjdk.org/jdk11u-dev.git pull/1926/head:pull/1926

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


More information about the jdk-updates-dev mailing list