private static class Node<E> { volatile E item; volatile Node<E> next; /** * Constructs a new node. Uses relaxed write because item can * only be seen after publication via casNext. */ Node(E item) { UNSAFE.putObject(this, itemOffset, item); }
It comes from java.util.concurrent.ConcurrentLinkedQueue.java
What does it mean, relaxed write?