The Limits of notifyAll

notifyAll() Java’s notifyAll() method, common to all Objects, wakes up all threads that are waiting on the object lock. A thread waits on an object’s monitor by calling one of the wait methods. Other threads then compete to obtain that lock. A problem emerges I had a blocking cache in production on a busy J2EE… Continue reading The Limits of notifyAll

Published
Categorized as Java