RFR: 8262881: port JVM/DI tests from JDK-4413752 to JVM/TI [v3]

Daniel D.Daugherty dcubed at openjdk.java.net
Tue Mar 30 19:37:31 UTC 2021


> Add three tests from JDK-4413752 ported to JVM/TI:
> 
> - RawMonitorEnter() with SuspendThread()
>   - test/hotspot/jtreg/serviceability/jvmti/SuspendWithRawMonitorEnter/SuspendWithRawMonitorEnter.java
>   - test/hotspot/jtreg/serviceability/jvmti/SuspendWithRawMonitorEnter/libSuspendWithRawMonitorEnter.cpp
> 
> - ObjectMonitor enter() with SuspendThread()
>   - test/hotspot/jtreg/serviceability/jvmti/SuspendWithObjectMonitorEnter/SuspendWithObjectMonitorEnter.java
>   - test/hotspot/jtreg/serviceability/jvmti/SuspendWithObjectMonitorEnter/libSuspendWithObjectMonitorEnter.cpp
> 
> - ObjectMonitor wait() with SuspendThread
>   - test/hotspot/jtreg/serviceability/jvmti/SuspendWithObjectMonitorWait/SuspendWithObjectMonitorWait.java
>   - test/hotspot/jtreg/serviceability/jvmti/SuspendWithObjectMonitorWait/libSuspendWithObjectMonitorWait.cpp
> 
> The Java files have a transaction diagram to show what each of the
> threads in the test is doing.

Daniel D. Daugherty has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains three commits:

 - Merge branch 'master' into JDK-8262881
 - sspitsyn - fix white space indents problems.
 - 8262881: port JVM/DI tests from JDK-4413752 to JVM/TI

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

Changes: https://git.openjdk.java.net/jdk/pull/2899/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=2899&range=02
  Stats: 1599 lines in 6 files changed: 1599 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/2899.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/2899/head:pull/2899

PR: https://git.openjdk.java.net/jdk/pull/2899


More information about the hotspot-runtime-dev mailing list