RFR: 8343121: RISC-V: More accurate max size for C2SafepointPollStub and C2EntryBarrierStub
Fei Yang
fyang at openjdk.org
Fri Nov 1 00:15:31 UTC 2024
On Thu, 31 Oct 2024 08:08:05 GMT, Robbin Ehn <rehn 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.
@robehn @feilongjiang : Thanks for the review!
-------------
PR Comment: https://git.openjdk.org/jdk/pull/21732#issuecomment-2451051688
More information about the hotspot-compiler-dev
mailing list