Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8286588

Compile linkToNative as inline runtime call if NativeEntryPoint is constant

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: repo-panama
    • Fix Version/s: None
    • Component/s: core-libs

      Description

      Currently we don't do anything with linkToNative calls in C2. That means that we still go through the method handle trampoline stub that loads the invoker stub from the NativeEntryPoint appendix argument.

      If the appendix argument is constant, however, we could also generate an inline runtime call, and skip the method handle trampoline.

        Attachments

          Activity

            People

            Assignee:
            jvernee Jorn Vernee
            Reporter:
            jvernee Jorn Vernee
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: