Home
last modified time | relevance | path

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

/art/test/149-suspend-all-stress/src/
DMain.java20 static final int numberOfThreads = 8; field in Main
24 final Thread[] threads = new Thread[numberOfThreads]; in main()
/art/test/004-ThreadStress/src/
DMain.java337 int numberOfThreads = -1; in parseAndRun() local
350 numberOfThreads = Integer.parseInt(args[i]); in parseAndRun()
376 if (numberOfThreads == -1) { in parseAndRun()
377 numberOfThreads = 5; in parseAndRun()
389 operationsPerThread = totalOperations/numberOfThreads; in parseAndRun()
402 runTest(numberOfThreads, numberOfDaemons, operationsPerThread, lock, frequencyMap); in parseAndRun()
410 public static void runTest(final int numberOfThreads, final int numberOfDaemons, in runTest() argument
414 final Barrier startBarrier = new Barrier(numberOfThreads + numberOfDaemons + 1); in runTest()
430 final Main[] threadStresses = new Main[numberOfThreads + numberOfDaemons]; in runTest()
449 threadStresses[t] = (t < numberOfThreads) in runTest()
[all …]
/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()
/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/129-ThreadGetId/src/
DMain.java21 static final int numberOfThreads = 5; field in Main
25 final Thread[] threads = new Thread[numberOfThreads]; in main()