changeset 59021 | cfc7bb9a5a92 |
parent 50169 | dd501973095c |
--- a/test/hotspot/jtreg/vmTestbase/nsk/stress/strace/strace006.java Mon Nov 11 17:43:10 2019 -0800 +++ b/test/hotspot/jtreg/vmTestbase/nsk/stress/strace/strace006.java Tue Nov 12 06:32:13 2019 +0000 @@ -331,7 +331,7 @@ if (strace006.DEPTH - currentDepth > 0) { try { - yield(); + Thread.yield(); recursiveMethod2(); } catch (StackOverflowError e) { // ignore this exception