On Sat, 9 Sep 2023 18:05:51 GMT, Leonid Mesnik <lmes...@openjdk.org> wrote:

>> It is strange that the the tested vthreads in sleep(timeout) have sate 
>> WAITING, not TIMED_WAITING.
>> It can be a bug in the implementation.
>> I've decided to add a short sleep. Checking states looks a little bit over 
>> complicated.
>
> Could you please also add comment with sleep which describe why is it needed 
> and mention that the insufficient sleep time couldn't cause test failures. 
> Test should pass anyway just don't test expected state.

Done.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/15467#discussion_r1322194160

Reply via email to