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

Patricio Chilano Mateo pchilanomate at openjdk.org
Thu Mar 21 13:56:20 UTC 2024


On Thu, 21 Mar 2024 01:09:52 GMT, Serguei Spitsyn <sspitsyn at openjdk.org> wrote:

>> 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

Looks good to me, thanks Serguei.

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

Marked as reviewed by pchilanomate (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/18332#pullrequestreview-1952294929


More information about the serviceability-dev mailing list