test/hotspot/jtreg/runtime/execstack/TestMT.java
changeset 59021 cfc7bb9a5a92
parent 47216 71c04702a3d5
equal deleted inserted replaced
59020:aebd72de84b0 59021:cfc7bb9a5a92
    76             super(name);
    76             super(name);
    77         }
    77         }
    78         public void run() {
    78         public void run() {
    79             for (int i = 0; i < 10; ++i) {
    79             for (int i = 0; i < 10; ++i) {
    80                 TestMT.run(getName());
    80                 TestMT.run(getName());
    81                 yield();
    81                 Thread.yield();
    82             }
    82             }
    83         }
    83         }
    84     }
    84     }
    85 }
    85 }