On Tue, 2 May 2023 20:12:15 GMT, Chris Plummer <cjplum...@openjdk.org> wrote:

>> test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/stop/stop002.java line 
>> 300:
>> 
>>> 298:         IntegerValue ival;
>>> 299:         do {
>>> 300:             ival = 
>>> (IntegerValue)mainClass.getValue(mainClass.fieldByName("testNumReady"));
>> 
>> Do we need a sleep at each iteration?
>
> I intentionally did not do one since `getValue()` is fairly slow and involves 
> sending and receiving a JDWP packet. It didn't seem worth the extra noise of 
> a sleep call and the needed exception handling.

Okay, thanks.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/13548#discussion_r1183025283

Reply via email to