RFR: 8321509: False positive in get_trampoline fast path causes crash [v3]

Vladimir Kozlov kvn at openjdk.org
Wed Jul 10 20:10:54 UTC 2024


On Tue, 25 Jun 2024 23:49:27 GMT, Dean Long <dlong at openjdk.org> wrote:

>> 8321509: False positive in get_trampoline fast path causes crash
>
> Dean Long has updated the pull request incrementally with one additional commit since the last revision:
> 
>   cleanup

We already return `true` from `[Leyden's target_needs_far_branch()](https://github.com/openjdk/leyden/blob/premain/src/hotspot/cpu/aarch64/macroAssembler_aarch64.cpp#L699) for AOT code generation.

During this PR testing with Leyden I also found that we need to do the same in [codestub_branch_needs_far_jump()](https://github.com/openjdk/leyden/blob/premain/src/hotspot/cpu/aarch64/macroAssembler_aarch64.hpp#L1260)

And now in `is_always_within_branch_range()` too.

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

PR Comment: https://git.openjdk.org/jdk/pull/19796#issuecomment-2220897286


More information about the hotspot-compiler-dev mailing list