Java Object.wait(long, long) Implementation different from Documentation
问题 The method Object#wait(long, long) in java.lang.Object states in it's documentation that This method is similar to the wait method of one argument, but it allows finer control over the amount of time to wait for a notification before giving up. The amount of real time, measured in nanoseconds, is given by: 1000000*timeout+nanos This in itself makes sense, but the implementation does not reflect the documentation: public final void wait(long timeout, int nanos) throws InterruptedException { //