Relaxed write, what does it mean?

Viewed 180
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?

1 Answers
Related