8152698: Remove obsolete Unsafe.putOrdered{X} methods, usages, runtime and compiler support

Reviewed-by: kvn, psandoz, dl
This commit is contained in:
Aleksey Shipilev 2016-03-25 15:35:43 +03:00
parent c8858ca3b6
commit 1d963af553
21 changed files with 40 additions and 48 deletions

View file

@ -198,7 +198,7 @@ public class ConcurrentLinkedQueue<E> extends AbstractQueue<E>
}
static <E> void lazySetNext(Node<E> node, Node<E> val) {
U.putOrderedObject(node, NEXT, val);
U.putObjectRelease(node, NEXT, val);
}
static <E> boolean casNext(Node<E> node, Node<E> cmp, Node<E> val) {