test/hotspot/jtreg/runtime/execstack/TestMT.java
changeset 59021 cfc7bb9a5a92
parent 47216 71c04702a3d5
--- a/test/hotspot/jtreg/runtime/execstack/TestMT.java	Mon Nov 11 17:43:10 2019 -0800
+++ b/test/hotspot/jtreg/runtime/execstack/TestMT.java	Tue Nov 12 06:32:13 2019 +0000
@@ -78,7 +78,7 @@
         public void run() {
             for (int i = 0; i < 10; ++i) {
                 TestMT.run(getName());
-                yield();
+                Thread.yield();
             }
         }
     }