RFR: 8328285: GetOwnedMonitorInfo functions should use JvmtiHandshake [v2]

Serguei Spitsyn sspitsyn at openjdk.org
Tue Mar 19 00:10:32 UTC 2024


> 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

Serguei Spitsyn has updated the pull request incrementally with one additional commit since the last revision:

  review: correct one comment

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/18332/files
  - new: https://git.openjdk.org/jdk/pull/18332/files/a31c4f71..78b7c894

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=18332&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=18332&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 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


More information about the serviceability-dev mailing list