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 function `GetThreadListStackTraces` on the base of `JvmtiHandshake` and `JvmtiUnitedHandshakeClosure` classes.
Testing: - Ran mach5 tiers 1-6 ------------- Commit messages: - 8329491: GetThreadListStackTraces function should use JvmtiHandshake Changes: https://git.openjdk.org/jdk/pull/18574/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18574&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8329491 Stats: 42 lines in 3 files changed: 16 ins; 19 del; 7 mod Patch: https://git.openjdk.org/jdk/pull/18574.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/18574/head:pull/18574 PR: https://git.openjdk.org/jdk/pull/18574