RFR: 8332689: RISC-V: Use load instead of trampolines [v22]

Fei Yang fyang at openjdk.org
Thu Jul 4 14:04:21 UTC 2024


On Thu, 4 Jul 2024 13:21:46 GMT, Robbin Ehn <rehn at openjdk.org> wrote:

>> When you use reloc_call the size of the call must be an exact size we already specified (3 * NativeInstruction::instruction_size). (if those sizes don't apply you don't want a reloc_call) 
>> So there is nothing to choose from the caller prespective.
>
> Maybe in the future load_link_jump will be used out side reloc_call, was that your thinking?
> 
> Anyhow change _ld to ld ?

Yeah, I just feel it's better to decouple the two and let the users of `load_link_jump` to decide. (Or just inline this `load_link_jump` into the caller?)

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/19453#discussion_r1665753700


More information about the hotspot-dev mailing list