You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The need for suspending target thread in order to retrieve thread state causes significant performance bottle neck on virtual thread testing as many tests are written using:
while (vthread.getState() != targetState) {
Thread.yield();
}
where the getState() call will prevent virtual thread's transition from completing due to repeated interruption.
#17251 tracks a similar perf bottleneck on platform thread.
Related tests: #22153