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

Leonid Mesnik lmesnik at openjdk.org
Thu Mar 21 01:13:21 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

Marked as reviewed by lmesnik (Reviewer).

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

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


More information about the hotspot-dev mailing list