< prev index next >
test/hotspot/jtreg/vmTestbase/nsk/stress/thread/thread005.java
Print this page
rev 56807 : [mq]: 8232684-v2
*** 158,168 ****
* free CPU time so that the thread's memory could not
* be moved to swap file.
*/
public void run() {
while (!GO && !timeout())
! yield();
while (!STOP && !timeout())
;
}
private static long startTime = System.currentTimeMillis();
--- 158,168 ----
* free CPU time so that the thread's memory could not
* be moved to swap file.
*/
public void run() {
while (!GO && !timeout())
! Thread.yield();
while (!STOP && !timeout())
;
}
private static long startTime = System.currentTimeMillis();
< prev index next >