RFR: 8365047: Remove exception handler stub code in C2 [v5]

Ruben duke at openjdk.org
Fri Sep 26 12:16:24 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 two additional commits since the last revision:

 - Address review comments
 - The patch is contributed by @TheRealMDoerr

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/26678/files
  - new: https://git.openjdk.org/jdk/pull/26678/files/47178248..5107d025

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=26678&range=04
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=26678&range=03-04

  Stats: 88 lines in 18 files changed: 48 ins; 17 del; 23 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