RFR: 8262881: port JVM/DI tests from JDK-4413752 to JVM/TI [v4]
Robbin Ehn
rehn at openjdk.java.net
Wed Apr 7 11:46:53 UTC 2021
On Thu, 1 Apr 2021 19:46:38 GMT, Daniel D. Daugherty <dcubed at openjdk.org> wrote:
>> 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.
I really like simple agent code
Thanks!
-------------
Marked as reviewed by rehn (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/2899
More information about the serviceability-dev
mailing list