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

Serguei Spitsyn sspitsyn at openjdk.org
Thu Mar 21 01:09:52 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: replace redundand check with an assert

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/18332/files
  - new: https://git.openjdk.org/jdk/pull/18332/files/b7380b19..429e696a

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

  Stats: 4 lines in 1 file changed: 0 ins; 3 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 hotspot-dev mailing list