Searched refs:permits (Results 1 – 2 of 2) sorted by relevance
448 int permits = -1; in parseAndRun() local470 permits = Integer.parseInt(args[i]); in parseAndRun()480 Semaphore semaphore = getSemaphore(permits); in parseAndRun()508 Semaphore semaphore = getSemaphore(permits); in parseAndRun()526 private static Semaphore getSemaphore(int permits) { in getSemaphore() argument527 if (permits == -1) { in getSemaphore()529 permits = 3; in getSemaphore()532 Semaphore semaphore = new Semaphore(permits, /* fair */ true); in getSemaphore()533 forceTransitiveClassInitialization(semaphore, permits); in getSemaphore()543 private static void forceTransitiveClassInitialization(Semaphore semaphore, final int permits) { in forceTransitiveClassInitialization() argument[all …]
1 …rmission updates and CPU cache inconsistencies. Only runs when test runner permits JIT, e.g. --jit.