-
Enhancement
-
Resolution: Fixed
-
P3
-
None
-
repo-panama
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.