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

Daniel D.Daugherty dcubed at openjdk.java.net
Fri Mar 19 21:28:09 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 incrementally with one additional commit since the last revision:

  sspitsyn - fix white space indents problems.

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/2899/files
  - new: https://git.openjdk.java.net/jdk/pull/2899/files/3e719713..fb564a25

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=2899&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=2899&range=00-01

  Stats: 9 lines in 3 files changed: 0 ins; 0 del; 9 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 serviceability-dev mailing list