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

Dean Long dlong at openjdk.org
Mon Jul 8 20:34:34 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

Unfortunately, adding the shortcut for self-calls is not enough for Leyden.  Trampoline calls to always-reachable targets are bound early to their destination, so there can be NativeCalls that are not self-calls.  To see this in a debug build, this line needs to be adjusted:

static const uint64_t branch_range = NOT_DEBUG(128 * M) DEBUG_ONLY(2 * M);

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

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


More information about the hotspot-compiler-dev mailing list