RFR: 8366461: Remove obsolete method handle invoke logic
Dean Long
dlong at openjdk.org
Tue Sep 2 19:27:37 UTC 2025
At one time, JSR292 support needed special logic to save and restore SP across method handle instrinsic calls, but that is no longer the case. The only platform that still does the save/restore is arm32, which is no longer necessary. The save/restore can be removed along with related APIs and logic. Note that the arm32 port is largely based on the x86 port, which stopped doing the save/restore in jdk9 ([JDK-8068945](https://bugs.openjdk.org/browse/JDK-8068945)).
-------------
Commit messages:
- Merge branch 'openjdk:master' into 8366461-mh-invoke
- first pass
Changes: https://git.openjdk.org/jdk/pull/27059/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=27059&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8366461
Stats: 538 lines in 68 files changed: 7 ins; 487 del; 44 mod
Patch: https://git.openjdk.org/jdk/pull/27059.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/27059/head:pull/27059
PR: https://git.openjdk.org/jdk/pull/27059
More information about the hotspot-dev
mailing list