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

Lift upcall sharing mechanism to AbstractLinker

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • None
    • repo-panama
    • core-libs

      Upcall stubs can share a Java wrapper class if they both have the same function descriptor. The wrapper class is customized for a particular target MethodHandle using MethodHandles.insertArguments.

      Lift the entry point for this mechanism to AbstractLinker, where it can live next to the similar mechanism that exists for downcall method handles, and so that it can also be used for the fallback linker (which currently doesn't do any sharing).

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

              Created:
              Updated:
              Resolved: