changeset 59021 | cfc7bb9a5a92 |
parent 50169 | dd501973095c |
--- a/test/hotspot/jtreg/vmTestbase/nsk/stress/thread/thread006.java Mon Nov 11 17:43:10 2019 -0800 +++ b/test/hotspot/jtreg/vmTestbase/nsk/stress/thread/thread006.java Tue Nov 12 06:32:13 2019 +0000 @@ -176,7 +176,7 @@ */ public void run() { while (!GO && !timeout()) - yield(); + Thread.yield(); while (!STOP && !timeout()) ; }