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

Upcall wrapper class sharing

    XMLWordPrintable

    Details

      Description

      We can share upcall wrapper classes with the same function descriptor by passing the target method handle into the wrapper method as an argument, instead of patching it into the constant pool (which requires spinning a new class for every target MH), and customizing upcall wrappers with different targets using MethodHandles.insertArguments.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: