报告对 Object.notify() 的调用。 虽然偶尔有用,但在几乎所有情况下,Object.notifyAll() 都是更好的选择,因为调用 Object.notify() 可能导致死锁。 有关讨论,请参阅 Doug Lea 的 Concurrent Programming in Java