110111112113114115116117118119120
now = System.nanoTime(); left = start + unit.toNanos(timeout) - now; if (left <= 0) { record(1, "Actor", "receive", "%s timed out.", this); throw new TimeoutException(); } } else mailbox.await(); } finally { mailbox.unlock();