RFR: 8321509: False positive in get_trampoline fast path causes crash [v3]
Evgeny Astigeevich
eastigeevich at openjdk.org
Wed Jul 10 20:10:51 UTC 2024
On Wed, 10 Jul 2024 09:39:23 GMT, Andrew Dinn <adinn at openjdk.org> wrote:
> > So for Leyden it sounds like you need to change is_always_within_branch_range().
>
> Or perhaps just adapt MacroAssembler::far_branches(). It returns false if the code cache max range exceeds branch_range. In Leyden we can make it return false when we are generating AOT code.
We might need to adapt [`target_needs_far_branch`](https://github.com/openjdk/jdk/blob/master/src/hotspot/cpu/aarch64/macroAssembler_aarch64.cpp#L677) for AOT code generation.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/19796#issuecomment-2220799063
More information about the hotspot-compiler-dev
mailing list