Integrated: 8343121: RISC-V: More accurate max size for C2SafepointPollStub and C2EntryBarrierStub
Fei Yang
fyang at openjdk.org
Fri Nov 1 00:15:32 UTC 2024
On Mon, 28 Oct 2024 04:09:57 GMT, Fei Yang <fyang at openjdk.org> wrote:
> Hi, please review this small change.
>
> The current max size these two stubs is a bit overestimated and thus is more than needed.
> Since `la`, `far_call` and `far_jump` assember routines used by these two stubs will always
> emit 2 instructions for address inside the code cache, we can make the max size more accurate.
>
> Testing on linux-riscv64 platform:
> - [x] tier1-tier3 (release)
> - [x] hotspot:tier1 (fastdebug)
This pull request has now been integrated.
Changeset: 803612ee
Author: Fei Yang <fyang at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/803612ee9377f7875d1b3ceb6f055048703e148c
Stats: 7 lines in 1 file changed: 3 ins; 0 del; 4 mod
8343121: RISC-V: More accurate max size for C2SafepointPollStub and C2EntryBarrierStub
Reviewed-by: rehn, fjiang
-------------
PR: https://git.openjdk.org/jdk/pull/21732
More information about the hotspot-compiler-dev
mailing list