< prev index next >

test/hotspot/jtreg/vmTestbase/nsk/share/jdi/JDIEventsDebuggee.java

Print this page
rev 56807 : [mq]: 8232684-v2

@@ -230,11 +230,11 @@
         private volatile boolean startExecution;
         private volatile boolean stopExecution;
 
         public void run() {
             while (!startExecution)
-                yield();
+                Thread.yield();
 
             for (int i = 0; (i < actionsNumber) && !stopExecution; i++)
                 executor.doEventAction();
         }
 
< prev index next >