Searched refs:getMaxPriority (Results 1 – 4 of 4) sorted by relevance
258 testRoot.getMaxPriority() == Thread.MIN_PRIORITY); in test_getMaxPriority()408 int currentMax = testRoot.getMaxPriority(); in test_setMaxPriorityI()410 passed = testRoot.getMaxPriority() == currentMax; in test_setMaxPriorityI()413 + currentMax + " , after: " + testRoot.getMaxPriority(), in test_setMaxPriorityI()418 currentMax = testRoot.getMaxPriority(); in test_setMaxPriorityI()420 passed = testRoot.getMaxPriority() == Thread.MIN_PRIORITY; in test_setMaxPriorityI()423 + currentMax + " , after: " + testRoot.getMaxPriority(), passed); in test_setMaxPriorityI()433 final int TOTAL_DEPTH = testRoot.getMaxPriority() - Thread.MIN_PRIORITY in test_setMaxPriorityI()449 current.setMaxPriority(current.getParent().getMaxPriority() - 1); in test_setMaxPriorityI()452 maxPrio = current.getMaxPriority(); in test_setMaxPriorityI()[all …]
63 public final int getMaxPriority() { in getMaxPriority() method in ThreadGroup
1236 if (newPriority > g.getMaxPriority()) { in setPriority()1237 newPriority = g.getMaxPriority(); in setPriority()
187 public final int getMaxPriority() { in getMaxPriority() method in ThreadGroup