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

Daniel D.Daugherty dcubed at openjdk.java.net
Thu Apr 1 19:46:38 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:

  Address lyndseyBeil, robehn and sspitsyn CR comments.

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/2899/files
  - new: https://git.openjdk.java.net/jdk/pull/2899/files/d548c7b5..28ac7069

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

  Stats: 640 lines in 6 files changed: 211 ins; 309 del; 120 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