On Fri, 7 Nov 2025 11:07:40 GMT, Ruben <[email protected]> wrote: > 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.
This pull request has now been integrated. Changeset: 21772600 Author: Ruben Ayrapetyan <[email protected]> Committer: Martin Doerr <[email protected]> URL: https://git.openjdk.org/jdk/commit/217726009492af5a1143c98b97cc39b580850c5d Stats: 640 lines in 46 files changed: 334 ins; 218 del; 88 mod 8371458: [REDO] Remove exception handler stub code in C2 Co-authored-by: Martin Doerr <[email protected]> Reviewed-by: mdoerr, dlong ------------- PR: https://git.openjdk.org/jdk/pull/28192
