Home
last modified time | relevance | path

Searched refs:numberOfThreads (Results 1 – 4 of 4) sorted by relevance

/art/test/004-ThreadStress/src/
DMain.java334 int numberOfThreads = -1; in parseAndRun() local
347 numberOfThreads = Integer.parseInt(args[i]); in parseAndRun()
373 if (numberOfThreads == -1) { in parseAndRun()
374 numberOfThreads = 5; in parseAndRun()
386 operationsPerThread = totalOperations/numberOfThreads; in parseAndRun()
398 runTest(numberOfThreads, numberOfDaemons, operationsPerThread, lock, frequencyMap); in parseAndRun()
401 public static void runTest(final int numberOfThreads, final int numberOfDaemons, in runTest() argument
418 final Main[] threadStresses = new Main[numberOfThreads + numberOfDaemons]; in runTest()
437 threadStresses[t] = t < numberOfThreads ? new Main(lock, t, operations) : in runTest()
467 Thread[] runners = new Thread[numberOfThreads]; in runTest()
[all …]
/art/test/129-ThreadGetId/src/
DMain.java20 static final int numberOfThreads = 5; field in Main
24 final Thread[] threads = new Thread[numberOfThreads]; in main()
/art/test/597-deopt-new-string/src/
DMain.java18 static final int numberOfThreads = 2; field in Main
34 final Thread[] threads = new Thread[numberOfThreads]; in main()
/art/test/145-alloc-tracking-stress/src/
DMain.java22 static final int numberOfThreads = 4; field in Main
44 final Thread[] threads = new Thread[numberOfThreads]; in main()