RFR: 8286056: AArch64: clarify uses of MacroAssembler::far_call/MacroAssembler::far_jump

Andrew Haley aph at openjdk.java.net
Wed May 4 12:59:13 UTC 2022


On Wed, 4 May 2022 12:01:36 GMT, Evgeny Astigeevich <duke at openjdk.java.net> wrote:

> `MacroAssembler::far_call`/`MacroAssembler::far_jump` are for generating calls of/jumps to targets which are inside `CodeCache` and can `relocInfo` types: `external_word_type`, `runtime_call_type` or `none`.
> This PR updates the description of the functions and adds an assert checking a `relocInfo` type.
> Tested a fastdebug build:
> - `gtest`: Passed
> - `tier1`: Passed

OK. I'm not sure the new assertions add very much, but they're harmless.

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

Marked as reviewed by aph (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/8534


More information about the hotspot-dev mailing list