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

Dean Long dlong at openjdk.org
Thu Jul 11 20:14:58 UTC 2024


On Thu, 11 Jul 2024 09:30:51 GMT, Andrew Dinn <adinn at openjdk.org> wrote:

> generated stub code can contain direct pc-rel branches within the buffer which do not target a trampoline

That sounds fine.  In fact, they probably don't need to use a Relocation at all (except maybe in Leyden).  If a forward reference needs a fixup, it can use a Label.

What would invalidate current assumptions is trying to support trampoline stubs in non-nmethods.  We can cross that bridge when we get to it.

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

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


More information about the hotspot-compiler-dev mailing list