I am reading the book Java Concurrency in Practice. In a section about java.util.concurrent.Semaphore, the below lines are present in the book. It is a comment abou
java.util.concurrent.Semaphore
As mentioned in first post "Semaphore is not limited to the number of permits it was created with"
Every call to .release() API will increase the permit count by one. So Semaphores doesn't have a fixed permit size