--- old/test/hotspot/jtreg/runtime/handshake/HandshakeWalkExitTest.java Tue Nov 21 15:11:38 2017 +++ new/test/hotspot/jtreg/runtime/handshake/HandshakeWalkExitTest.java Tue Nov 21 15:11:37 2017 @@ -42,22 +42,18 @@ } static volatile boolean exit_now = false; - static Thread[] threads; public static void main(String... args) throws Exception { - int testRuns = 100; - int testThreads = 500; + int testRuns = 20; + int testThreads = 128; HandshakeWalkExitTest test = new HandshakeWalkExitTest(); - threads = new Thread[64]; - Runnable hser = new Runnable(){ public void run(){ WhiteBox wb = WhiteBox.getWhiteBox(); while(!exit_now) { wb.handshakeWalkStack(null, true); - try { Thread.sleep(1); } catch(Exception e) {} } } };