RFR: 8343121: RISC-V: More accurate max size for C2SafepointPollStub and C2EntryBarrierStub
Robbin Ehn
rehn at openjdk.org
Thu Oct 31 08:10:28 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)
Seems fine, thanks.
-------------
Marked as reviewed by rehn (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/21732#pullrequestreview-2407309954
More information about the hotspot-compiler-dev
mailing list