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

Andrew Dinn adinn at openjdk.org
Wed Jul 10 09:44:24 UTC 2024


On Wed, 10 Jul 2024 01:42:06 GMT, Dean Long <dlong 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.

Oops, sorry, I got that the wrong way round. We need to change is_always_within_branch_range() as @dean-long suggested.

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

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


More information about the hotspot-compiler-dev mailing list