test/hotspot/jtreg/vmTestbase/nsk/share/jdi/JDIEventsDebuggee.java
changeset 59021 cfc7bb9a5a92
parent 49934 44839fbb20db
equal deleted inserted replaced
59020:aebd72de84b0 59021:cfc7bb9a5a92
   230         private volatile boolean startExecution;
   230         private volatile boolean startExecution;
   231         private volatile boolean stopExecution;
   231         private volatile boolean stopExecution;
   232 
   232 
   233         public void run() {
   233         public void run() {
   234             while (!startExecution)
   234             while (!startExecution)
   235                 yield();
   235                 Thread.yield();
   236 
   236 
   237             for (int i = 0; (i < actionsNumber) && !stopExecution; i++)
   237             for (int i = 0; (i < actionsNumber) && !stopExecution; i++)
   238                 executor.doEventAction();
   238                 executor.doEventAction();
   239         }
   239         }
   240 
   240