RFR: 8371458: [REDO] Remove exception handler stub code in C2 [v2]
Ruben
duke at openjdk.org
Thu Nov 13 23:49:28 UTC 2025
> The original fix [JDK-8365047](https://bugs.openjdk.org/browse/JDK-8365047) was backed out by [JDK-8371388](https://bugs.openjdk.org/browse/JDK-8371388), this is the REDO.
>
> The C2 exception handler stub code is only a trampoline to the generated exception handler blob. This change removes the extra step on the way to the generated blob.
>
> According to some comments in the source code, the exception handler stub code used to be patched upon deoptimization, however presumably these comments are outdated as the patching upon deoptimization happens for post-call NOPs only.
Ruben has updated the pull request incrementally with one additional commit since the last revision:
Add an assertion to detect out of bounds access in post-call NOP checks
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/28192/files
- new: https://git.openjdk.org/jdk/pull/28192/files/7bb43523..20cc58a3
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=28192&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=28192&range=00-01
Stats: 71 lines in 18 files changed: 65 ins; 2 del; 4 mod
Patch: https://git.openjdk.org/jdk/pull/28192.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/28192/head:pull/28192
PR: https://git.openjdk.org/jdk/pull/28192
More information about the hotspot-dev
mailing list