Integrated: 8342882: RISC-V: Unify handling of jumps to runtime
Fei Yang
fyang at openjdk.org
Thu Oct 24 11:25:09 UTC 2024
On Wed, 23 Oct 2024 10:20:10 GMT, Fei Yang <fyang at openjdk.org> wrote:
> This fixes and unifies handling of jumps to runtime. Was previously discussed here [1]. ( Tagging @robehn )
> Seems not reasonable for `MacroAssembler::j(const Address &dest, Register temp)` to directly delegate work to `MacroAssembler::j(const address dest, Register temp)` for literal Address. This could generate a plain `JAL`, which means when we relocate the code, but the `JAL` immediate could be too large. This change relaxes this constaint.
>
> [1] https://github.com/openjdk/jdk/pull/21406#issuecomment-2415965656
>
> Simply did a native fastdebug build and tried specjbb2005 workload.
> More testing on linux-riscv64 in progress.
> - [x] tier1 - tier3 (release)
> - [x] hotspot:tier1 (fastdebug)
This pull request has now been integrated.
Changeset: 85774b71
Author: Fei Yang <fyang at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/85774b713edf8782f162ac25b61ce99a77e116f4
Stats: 31 lines in 7 files changed: 2 ins; 9 del; 20 mod
8342882: RISC-V: Unify handling of jumps to runtime
Reviewed-by: rehn
-------------
PR: https://git.openjdk.org/jdk/pull/21661
More information about the hotspot-dev
mailing list