ExecutorService () { // because TC usually has no more than 4 cores AtomicInteger cnt = new AtomicInteger(); return new ThreadPoolExecutor(4, 4, 10, TimeUnit.SECONDS, new LinkedBlockingQueue<>(), r -> new Thread(r, "ConcurrentBitSetTest.tortureParallelSetClear-"+cnt.getAndIncrement())); }