Searched refs:getMaxPriority (Results 1 – 3 of 3) sorted by relevance
257 testRoot.getMaxPriority() == Thread.MIN_PRIORITY); in test_getMaxPriority()407 int currentMax = testRoot.getMaxPriority(); in test_setMaxPriorityI()409 passed = testRoot.getMaxPriority() == currentMax; in test_setMaxPriorityI()412 + currentMax + " , after: " + testRoot.getMaxPriority(), in test_setMaxPriorityI()417 currentMax = testRoot.getMaxPriority(); in test_setMaxPriorityI()419 passed = testRoot.getMaxPriority() == Thread.MIN_PRIORITY; in test_setMaxPriorityI()422 + currentMax + " , after: " + testRoot.getMaxPriority(), passed); in test_setMaxPriorityI()432 final int TOTAL_DEPTH = testRoot.getMaxPriority() - Thread.MIN_PRIORITY in test_setMaxPriorityI()448 current.setMaxPriority(current.getParent().getMaxPriority() - 1); in test_setMaxPriorityI()451 maxPrio = current.getMaxPriority(); in test_setMaxPriorityI()[all …]
1117 if (newPriority > g.getMaxPriority()) { in setPriority()1118 newPriority = g.getMaxPriority(); in setPriority()
187 public final int getMaxPriority() { in getMaxPriority() method in ThreadGroup