Integrated: 8344074: RISC-V: C1: More accurate _exception_handler_size and _deopt_handler_size
Fei Yang
fyang at openjdk.org
Thu Nov 14 00:58:26 UTC 2024
On Wed, 13 Nov 2024 00:38:11 GMT, Fei Yang <fyang at openjdk.org> wrote:
> Hi, please review this small change.
>
> I find that the reserved size for these two handlers are not accurate and are larger than needed. For `_exception_handler_size`, the used size is only 20 bytes for release build and 126 bytes for debug build (with -XX:+VerifyOops). Considering that the exception handler is not trivial, I reserved a little bit more than needed for release build (32 bytes). For `_deopt_handler_size`, `far_jump` will always emit two instructions.
>
> Testing on linux-riscv64:
> - [x] tier1 (release)
> - [x] hotspot:tier1 (fastdebug)
This pull request has now been integrated.
Changeset: 90e92342
Author: Fei Yang <fyang at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/90e92342fc26db4876e22e8379a2c803c9de232c
Stats: 4 lines in 1 file changed: 0 ins; 1 del; 3 mod
8344074: RISC-V: C1: More accurate _exception_handler_size and _deopt_handler_size
Reviewed-by: mli, fjiang
-------------
PR: https://git.openjdk.org/jdk/pull/22053
More information about the hotspot-compiler-dev
mailing list