equal
deleted
inserted
replaced
276 * @throws IllegalMonitorStateException if the current thread is not |
276 * @throws IllegalMonitorStateException if the current thread is not |
277 * the owner of this object's monitor. |
277 * the owner of this object's monitor. |
278 * @see java.lang.Object#notifyAll() |
278 * @see java.lang.Object#notifyAll() |
279 * @see java.lang.Object#wait() |
279 * @see java.lang.Object#wait() |
280 */ |
280 */ |
|
281 @HotSpotIntrinsicCandidate |
281 public final native void notify(); |
282 public final native void notify(); |
282 |
283 |
283 /** |
284 /** |
284 * Wakes up all threads that are waiting on this object's monitor. A |
285 * Wakes up all threads that are waiting on this object's monitor. A |
285 * thread waits on an object's monitor by calling one of the |
286 * thread waits on an object's monitor by calling one of the |
300 * @throws IllegalMonitorStateException if the current thread is not |
301 * @throws IllegalMonitorStateException if the current thread is not |
301 * the owner of this object's monitor. |
302 * the owner of this object's monitor. |
302 * @see java.lang.Object#notify() |
303 * @see java.lang.Object#notify() |
303 * @see java.lang.Object#wait() |
304 * @see java.lang.Object#wait() |
304 */ |
305 */ |
|
306 @HotSpotIntrinsicCandidate |
305 public final native void notifyAll(); |
307 public final native void notifyAll(); |
306 |
308 |
307 /** |
309 /** |
308 * Causes the current thread to wait until either another thread invokes the |
310 * Causes the current thread to wait until either another thread invokes the |
309 * {@link java.lang.Object#notify()} method or the |
311 * {@link java.lang.Object#notify()} method or the |