On Mon, 6 Mar 2023 18:40:47 GMT, Jorn Vernee <jver...@openjdk.org> wrote:
> Port of: https://github.com/openjdk/panama-foreign/pull/791 which lifts the > sharing mechanism for upcall stubs to AbstractLinker. > > This also speeds up upcall stub linking: src/java.base/share/classes/jdk/internal/foreign/abi/aarch64/windows/WindowsAArch64Linker.java line 61: > 59: @Override > 60: protected UpcallStubFactory arrangeUpcall(MethodType targetType, > FunctionDescriptor function) { > 61: return CallArranger.WINDOWS.arrangeUpcall(targetType, function); Suggestion: return CallArranger.WINDOWS.arrangeUpcall(targetType, function); ------------- PR: https://git.openjdk.org/jdk/pull/12883