Searched refs:reducePermits (Results 1 - 2 of 2) sorted by relevance

/openjdk7/jdk/test/java/util/concurrent/Semaphore/
H A DPermitOverflow.java73 public void reducePermits(int reduction) {
74 super.reducePermits(reduction);
83 sem.reducePermits(2);
87 sem.reducePermits(1);
91 sem.reducePermits(1);
96 sem.reducePermits(Integer.MAX_VALUE);
/openjdk7/jdk/src/share/classes/java/util/concurrent/
H A DSemaphore.java203 final void reducePermits(int reductions) { method in class:Semaphore.Sync
648 protected void reducePermits(int reduction) { method in class:Semaphore
650 sync.reducePermits(reduction);

Completed in 89 milliseconds