[jdk17u-dev] RFR: 8339386: Assertion on AIX - original PC must be in the main code section of the compiled method
Richard Reingruber
rrich at openjdk.org
Mon Sep 29 17:20:46 UTC 2025
On Mon, 29 Sep 2025 14:08:03 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:
> 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.
I do think the main issue here is using the wrong unextended_sp for a compiled sender if the current frame is interpreted. Then we would load an invalid original pc from the wrong slot.
This issue is solved with the backport. Thanks for doing it!
-------------
Marked as reviewed by rrich (Reviewer).
PR Review: https://git.openjdk.org/jdk17u-dev/pull/3998#pullrequestreview-3280901072
More information about the jdk-updates-dev
mailing list