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

Daniel D.Daugherty dcubed at openjdk.java.net
Wed Mar 10 16:12:34 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.

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

Commit messages:
 - 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=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8262881
  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