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