8341127: Extra call to MethodHandle::asType from memory segment var handles fails to inline
------------- Commit messages: - Backport 7fa2f229fbee68112cbdd18b811d95721adfe2ec Changes: https://git.openjdk.org/jdk/pull/21351/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=21351&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8341127 Stats: 152 lines in 2 files changed: 150 ins; 0 del; 2 mod Patch: https://git.openjdk.org/jdk/pull/21351.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/21351/head:pull/21351 PR: https://git.openjdk.org/jdk/pull/21351