< prev index next >

test/hotspot/jtreg/vmTestbase/nsk/jvmti/scenarios/contention/TC02/tc02t001.java

Print this page

        

*** 69,95 **** thread.startingBarrier.waitFor(); status = checkStatus(status); thread.waitingBarrier1.unlock(); try { ! Thread.sleep(100); thread.M.wait(timeout); } catch (InterruptedException e) { throw new Failure(e); } thread.waitingBarrier2.unlock(); try { ! Thread.sleep(100); thread.M.wait(timeout); } catch (InterruptedException e) { throw new Failure(e); } thread.waitingBarrier3.unlock(); try { ! Thread.sleep(100); thread.M.wait(timeout); } catch (InterruptedException e) { throw new Failure(e); } } --- 69,95 ---- thread.startingBarrier.waitFor(); status = checkStatus(status); thread.waitingBarrier1.unlock(); try { ! Thread.sleep(1000); thread.M.wait(timeout); } catch (InterruptedException e) { throw new Failure(e); } thread.waitingBarrier2.unlock(); try { ! Thread.sleep(1000); thread.M.wait(timeout); } catch (InterruptedException e) { throw new Failure(e); } thread.waitingBarrier3.unlock(); try { ! Thread.sleep(1000); thread.M.wait(timeout); } catch (InterruptedException e) { throw new Failure(e); } }
< prev index next >