RFR: 8365047: Remove exception handler stub code in C2 [v8]
Ruben
duke at openjdk.org
Tue Oct 28 23:06:33 UTC 2025
> 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 three additional commits since the last revision:
- Address review comments and fix a mistype
- Check for NOP and MOVK separately in NativePostCallNop
- Test for deoptimization in virtual threads
Change-Id: I9ef51b426d34e9b44a3891f6a45307232f900e5a
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/26678/files
- new: https://git.openjdk.org/jdk/pull/26678/files/60279c3e..104a4ff4
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=26678&range=07
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=26678&range=06-07
Stats: 186 lines in 6 files changed: 172 ins; 6 del; 8 mod
Patch: https://git.openjdk.org/jdk/pull/26678.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/26678/head:pull/26678
PR: https://git.openjdk.org/jdk/pull/26678
More information about the hotspot-dev
mailing list