RFR: 8247251: Assert (_pcs_length == 0 || last_pc()->pc_offset() < pc_offs…

Vladimir Kozlov kvn at openjdk.java.net
Sun Sep 20 23:06:31 UTC 2020


Fix frame state recording for System.arraycopy() intrinsic. This is port of Graal fix:
https://github.com/oracle/graal/commit/438a7cb0257

Graal unit test ArrayCopyIntrinsificationTest.java is updated to catch this case.

I ran tier1 and tier3-graal testing. I also ran CodeCacheInfoOnCompilation/Test.java and c2/Test6603011.java jtreg
tests 100 times in Mach5 and got 6 failures with latest JDK. With fix tests passed.

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

Commit messages:
 - 8247251: Assert (_pcs_length == 0 || last_pc()->pc_offset() < pc_offset) failed: must specify a new, larger pc offset failure

Changes: https://git.openjdk.java.net/jdk/pull/272/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=272&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8247251
  Stats: 49 lines in 6 files changed: 37 ins; 2 del; 10 mod
  Patch: https://git.openjdk.java.net/jdk/pull/272.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/272/head:pull/272

PR: https://git.openjdk.java.net/jdk/pull/272


More information about the hotspot-compiler-dev mailing list