> 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
