Holder { public Holder(int n) { this.n = n; } Holder(int n); void assertSanity();  }
@Test() public void testHolder() { ExecutorService executor = Executors.newFixedThreadPool(1000); for (int i = 0; i < MAX_ITERATIONS; i++) { Runnable worker = new HolderWorkerThread(i); executor.execute(worker); } executor.shutdown(); while (!executor.isTerminated()) { } }