mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-11 05:59:52 +00:00
8202094: jdk/jfr/api/recording/event/TestEventTime.java intermittently times out
Reviewed-by: mgronlun
This commit is contained in:
parent
482e40cc8c
commit
4ed3a3f4fa
@ -106,7 +106,7 @@ public final class CommonHelper {
|
||||
|
||||
public static void waitForSystemCurrentMillisToChange() {
|
||||
long t = System.currentTimeMillis();
|
||||
while (t != System.currentTimeMillis()) {
|
||||
while (t == System.currentTimeMillis()) {
|
||||
try {
|
||||
Thread.sleep(2);
|
||||
} catch (InterruptedException e) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user