Searched refs:numThread (Results 1 – 2 of 2) sorted by relevance
43 int numThread = Thread.currentThread().getThreadGroup().activeCount(); in postExecutionCheck() local44 if (numThread == EXPECTED_THREAD_COUNT) { in postExecutionCheck()48 Thread[] listThreads = new Thread[numThread]; in postExecutionCheck()54 if (numThread == 2) { in postExecutionCheck()64 String.format("We have %s threads instead of 1. List: %s", numThread, arrayThread); in postExecutionCheck()
811 int numThread = this.getThreadGroup().activeCount(); in checkStrayThreads() local812 if (numThread == EXPECTED_THREAD_COUNT) { in checkStrayThreads()818 List<Thread> listThreads = getListOfThreadsExcludingForkJoinWorkers(numThread); in checkStrayThreads()819 numThread = listThreads.size(); in checkStrayThreads()820 if (numThread == EXPECTED_THREAD_COUNT) { in checkStrayThreads()827 mCmd.getCommandTracker().getId(), cmd, numThread, EXPECTED_THREAD_COUNT); in checkStrayThreads()833 HostDataPoint data = new HostDataPoint("numThread", numThread, cmd.toString()); in checkStrayThreads()842 numThread, listThreads)); in checkStrayThreads()845 private List<Thread> getListOfThreadsExcludingForkJoinWorkers(int numThread) { in getListOfThreadsExcludingForkJoinWorkers() argument846 Thread[] listThreads = new Thread[numThread]; in getListOfThreadsExcludingForkJoinWorkers()