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

Compile linkToNative as inline runtime call if NativeEntryPoint is constant

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • repo-panama
    • core-libs

      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.

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

              Created:
              Updated:
              Resolved: