RFR: 8266130: convert Thread-SMR stress tests from counter based to time based [v3]

David Holmes dholmes at openjdk.java.net
Wed Jun 9 01:55:17 UTC 2021


On Mon, 7 Jun 2021 23:50:18 GMT, Daniel D. Daugherty <dcubed at openjdk.org> wrote:

>> test/hotspot/jtreg/vmTestbase/nsk/jvmti/SuspendThread/suspendthrd003/suspendthrd003.cpp line 102:
>> 
>>> 100:         /*
>>> 101:          * Using printf() instead of NSK_DISPLAY1() in this loop
>>> 102:          * in order to slow down the rate of SuspendThread() calls.
>> 
>> I don't understand the reason for wanting to slow down the rate, nor your reason for removing it.
>
> I couldn't remember why I did that when I wrote the test so
> I removed it.

Maybe to allow the resume to get the thread back into real code before the next suspend hits?

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

PR: https://git.openjdk.java.net/jdk/pull/4237


More information about the serviceability-dev mailing list