Home
last modified time | relevance | path

Searched refs:permits (Results 1 – 2 of 2) sorted by relevance

/art/test/004-ThreadStress/src-art/
DMain.java448 int permits = -1; in parseAndRun() local
470 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() argument
527 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 …]
/art/test/708-jit-cache-churn/
Dinfo.txt1 …rmission updates and CPU cache inconsistencies. Only runs when test runner permits JIT, e.g. --jit.