The internal JVM TI JvmtiHandshake and JvmtiUnitedHandshakeClosure classes were introduced in the JDK 22 to unify/simplify the JVM TI functions supporting implementation of the virtual threads. This enhancement is to refactor the JVM TI internal functions JvmtiEnvThreadState::reset_current_location on the base of JvmtiHandshake and JvmtiUnitedHandshakeClosure classes.
Testing: - Ran mach5 tiers 1-6 ------------- Commit messages: - 8329674: JvmtiEnvThreadState::reset_current_location function should use JvmtiHandshake Changes: https://git.openjdk.org/jdk/pull/18630/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18630&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8329674 Stats: 108 lines in 2 files changed: 35 ins; 67 del; 6 mod Patch: https://git.openjdk.org/jdk/pull/18630.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/18630/head:pull/18630 PR: https://git.openjdk.org/jdk/pull/18630