This test has failed for various reasons, but the last of the reasons was that sig_cc - calling convention adapter for scalarized parameters was null for a value class. The sig_cc adapter for valhalla aren't saved with AOT until [JDK-8373348](https://bugs.openjdk.org/browse/JDK-8373348). This change moves where they are regenerated to where the method is linked.
Testing with tier1-4. in progress, and with the failed test. ------------- Commit messages: - 8367408: [lworld] runtime/cds/appcds/methodHandles/MethodHandlesGeneralTest.java#aot fails Changes: https://git.openjdk.org/valhalla/pull/1837/files Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=1837&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8367408 Stats: 31 lines in 3 files changed: 17 ins; 14 del; 0 mod Patch: https://git.openjdk.org/valhalla/pull/1837.diff Fetch: git fetch https://git.openjdk.org/valhalla.git pull/1837/head:pull/1837 PR: https://git.openjdk.org/valhalla/pull/1837
