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

Upcall wrapper class sharing

XMLWordPrintable

      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.

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

              Created:
              Updated:
              Resolved: