The `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 JVM TI functions 
`GetOwnedMonitorInfo` and `GetOwnedMonitorStackDepthInfo` on the base of 
`JvmtiHandshake and `JvmtiUnitedHandshakeClosure` classes.

Testing:
 - Ran mach5 tiers 1-6

-------------

Commit messages:
 - added a couple of more fields to the JvmtiUnifiedHaandshakeClosure
 - 8328285: GetOwnedMonitorInfo functions should use JvmtiHandshake

Changes: https://git.openjdk.org/jdk/pull/18332/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18332&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8328285
  Stats: 130 lines in 3 files changed: 35 ins; 74 del; 21 mod
  Patch: https://git.openjdk.org/jdk/pull/18332.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18332/head:pull/18332

PR: https://git.openjdk.org/jdk/pull/18332

Reply via email to