[jdk17u-dev] RFR: 8339386: Assertion on AIX - original PC must be in the main code section of the compiled method

Martin Doerr mdoerr at openjdk.org
Mon Sep 29 14:17:56 UTC 2025


Backport of [JDK-8339386](https://bugs.openjdk.org/browse/JDK-8339386). Applies almost cleanly, but needs a modification (see 2nd commit). `orig_pc_offset()` is not available in 17u. We can use the `frame` constructor which doesn't have the problematic assertion in 17u (see comment in the new code).
So, this backport doesn't fix the assertion mentioned in the title (because it doesn't exist in 17u). But, it makes checks more reliable.

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

Commit messages:
 - Adaptations for 17u.
 - Backport 9a25f822fb2529c1cae3ae909761381789d7b7b1

Changes: https://git.openjdk.org/jdk17u-dev/pull/3998/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=3998&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8339386
  Stats: 14 lines in 1 file changed: 11 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/jdk17u-dev/pull/3998.diff
  Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/3998/head:pull/3998

PR: https://git.openjdk.org/jdk17u-dev/pull/3998


More information about the jdk-updates-dev mailing list