RFR: 8343430: RISC-V: C2: Remove old trampoline call [v6]

Hamlin Li mli at openjdk.org
Mon Nov 11 21:34:16 UTC 2024


On Mon, 11 Nov 2024 02:32:26 GMT, Fei Yang <fyang at openjdk.org> wrote:

>> If the above simplication make sense, then what we're doing here is to load from pc as the destination addr, then jump to the addr? I could be misunderstanding.
>
> Thanks. I removed `distance` and simplified the code as suggested. Note that the use of PC as address here is only temporary. The relocation created while emitting the stub will ensure this call sequence is subsequently patched to call the stub. I have added code comments for to help understand.

Thanks for updating and explanation.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/21822#discussion_r1837230369


More information about the hotspot-dev mailing list