throw new IllegalMonitorStateException();
throw new IllegalMonitorStateException("notifying " + o);
  public static void notifyAll (Object o) {    if (VM.BuildForEventLogging && VM.EventLoggingEnabled) { VM_EventLogger.logNotifyAllBegin(); }    VM_Lock l = getHeavyLock(o);    if (l == null) return;    if (l.ownerId != VM_Magic.getThreadId())      throw new IllegalMonitorStateException();    l.mutex.lock(); // until unlock(), thread-switching fatal    VM_Thread t = l.waiting.dequeue();    while (t != null) {      l.entering.enqueue(t);       t = l.waiting.dequeue();    }    l.mutex.unlock(); // thread-switching benign    if (VM.BuildForEventLogging && VM.EventLoggingEnabled) { VM_EventLogger.logNotifyAllEnd(); }  }