akka/akka — pull request #15596 by nitsanw (2014-07-28 12:21:22+00:00)
Title: Update AbstractNodeQueue.java to avoid redundant reads of head in peekNode

Avoid spinning on head when a peek/poll observes a null next but the queue is not empty.