On Mon, 7 Jun 2021 23:50:18 GMT, Daniel D. Daugherty <[email protected]> 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

Reply via email to