--- old/test/hotspot/jtreg/vmTestbase/nsk/stress/thread/thread006.java 2019-11-04 17:33:19.709279744 +0100 +++ new/test/hotspot/jtreg/vmTestbase/nsk/stress/thread/thread006.java 2019-11-04 17:33:19.545277972 +0100 @@ -176,7 +176,7 @@ */ public void run() { while (!GO && !timeout()) - yield(); + Thread.yield(); while (!STOP && !timeout()) ; }