Integrated: 8328285: GetOwnedMonitorInfo functions should use JvmtiHandshake

Serguei Spitsyn sspitsyn at openjdk.org
Fri Mar 22 00:32:33 UTC 2024


On Fri, 15 Mar 2024 20:14:22 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

This pull request has now been integrated.

Changeset: 4d36c4ad
Author:    Serguei Spitsyn <sspitsyn at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/4d36c4adcc47630ddc7149c48c06dc8a93c1be5c
Stats:     129 lines in 4 files changed: 33 ins; 74 del; 22 mod

8328285: GetOwnedMonitorInfo functions should use JvmtiHandshake

Reviewed-by: pchilanomate, lmesnik

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

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


More information about the serviceability-dev mailing list