void makeRetired(Node<K, V> node) {
        for (;;) {
            final WeightedValue<V> current = node.get();
            if (!current.isAlive()) {
                return;
            }
            final WeightedValue<V> retired = new WeightedValue<V>(current.value, -current.weight);
            if (node.compareAndSet(current, retired)) {
                return;
            }
        }
    }
void makeRetired ( Node < K , V > node ) { for ( ; ; ) { final WeightedValue < V > current = node . get ( ) ; if ( ! current . isAlive ( ) ) { return ; } final WeightedValue < V > retired = new WeightedValue < V > ( current . value , - current . weight ) ; if ( node . compareAndSet ( current , retired ) ) { return ; } } }
Atomically transitions the node from the <tt>alive</tt> state to the
<tt>retired</tt> state, if a valid transition.

@param node the entry in the page replacement policy