Searched refs:AtomicReference (Results 1 - 17 of 17) sorted by relevance

/openjdk7/hotspot/test/compiler/8007722/
H A DTest8007722.java37 static AtomicReference<Test8007722> ref;
48 ref = new AtomicReference<Test8007722>(obj);
/openjdk7/jdk/test/java/nio/channels/AsynchronousFileChannel/
H A DCustomThreadPool.java35 import java.util.concurrent.atomic.AtomicReference;
46 final AtomicReference<Thread> invoker = new AtomicReference<Thread>();
48 new CompletionHandler<Integer,AtomicReference<Thread>>() {
49 public void completed(Integer result, AtomicReference<Thread> invoker) {
52 public void failed(Throwable exc, AtomicReference<Thread> invoker) {
H A DBasic.java36 import java.util.concurrent.atomic.AtomicReference;
312 final AtomicReference<Thread> invoker = new AtomicReference<Thread>();
/openjdk7/jdk/src/share/classes/java/util/concurrent/atomic/
H A DAtomicReference.java47 public class AtomicReference<V> implements java.io.Serializable { class in inherits:java.io.Serializable
56 (AtomicReference.class.getDeclaredField("value"));
63 * Creates a new AtomicReference with the given initial value.
67 public AtomicReference(V initialValue) { method in class:AtomicReference
72 * Creates a new AtomicReference with null initial value.
74 public AtomicReference() { method in class:AtomicReference
/openjdk7/jdk/test/javax/swing/SwingWorker/6432565/
H A Dbug6432565.java35 private final static AtomicReference<Throwable> throwable =
36 new AtomicReference<Throwable>(null);
/openjdk7/jdk/test/java/nio/channels/AsynchronousSocketChannel/
H A DDieBeforeComplete.java32 import java.util.concurrent.atomic.AtomicReference;
120 final AtomicReference<Future<T>> result = new AtomicReference<Future<T>>();
H A DBasic.java211 final AtomicReference<Throwable> connectException = new AtomicReference<>();
311 final AtomicReference<Throwable> writeException =
312 new AtomicReference<Throwable>();
749 final AtomicReference<Throwable> readException = new AtomicReference<Throwable>();
784 final AtomicReference<Throwable> writeException = new AtomicReference<Throwable>();
/openjdk7/jdk/src/share/sample/nio/chatserver/
H A DClient.java47 import java.util.concurrent.atomic.AtomicReference;
61 private AtomicReference<ClientReader> reader;
70 this.reader = new AtomicReference<ClientReader>(reader);
/openjdk7/jdk/test/java/util/concurrent/FutureTask/
H A DDoneTimedGetLoops.java63 final AtomicReference<PublicFutureTask> normalRef
64 = new AtomicReference<PublicFutureTask>();
65 final AtomicReference<PublicFutureTask> abnormalRef
66 = new AtomicReference<PublicFutureTask>();
/openjdk7/jdk/test/java/util/concurrent/atomic/
H A DLazy.java43 final AtomicReference<Long> r = new AtomicReference<Long>();
/openjdk7/jdk/src/share/classes/java/util/concurrent/
H A DPhaser.java40 import java.util.concurrent.atomic.AtomicReference;
347 private final AtomicReference<QNode> evenQ;
348 private final AtomicReference<QNode> oddQ;
350 private AtomicReference<QNode> queueFor(int phase) {
554 this.evenQ = new AtomicReference<QNode>();
555 this.oddQ = new AtomicReference<QNode>();
966 AtomicReference<QNode> head = (phase & 1) == 0 ? evenQ : oddQ;
987 AtomicReference<QNode> head = (phase & 1) == 0 ? evenQ : oddQ;
1048 AtomicReference<QNode> head = (phase & 1) == 0 ? evenQ : oddQ;
H A DExchanger.java277 * opportunistically subclasses AtomicReference to represent the
282 private static final class Node extends AtomicReference<Object> {
299 * A Slot is an AtomicReference with heuristic padding to lessen
306 private static final class Slot extends AtomicReference<Object> {
/openjdk7/jdk/test/java/nio/channels/AsynchronousServerSocketChannel/
H A DBasic.java37 import java.util.concurrent.atomic.AtomicReference;
98 final AtomicReference<Throwable> exception = new AtomicReference<Throwable>();
/openjdk7/jdk/src/share/classes/java/security/
H A DPolicy.java40 import java.util.concurrent.atomic.AtomicReference;
120 // PolicyInfo is stored in an AtomicReference
121 private static AtomicReference<PolicyInfo> policy =
122 new AtomicReference<>(new PolicyInfo(null, false));
/openjdk7/jdk/src/share/classes/sun/swing/text/
H A DTextComponentPrintable.java48 import java.util.concurrent.atomic.AtomicReference;
113 private final AtomicReference<FontRenderContext> frc =
114 new AtomicReference<FontRenderContext>(null);
/openjdk7/jdk/src/share/classes/sun/security/provider/
H A DPolicyFile.java56 import java.util.concurrent.atomic.AtomicReference;
302 private AtomicReference<PolicyInfo> policyInfo = new AtomicReference<>();
/openjdk7/jdk/make/java/java/
H A DFILES_java.gmk342 java/util/concurrent/atomic/AtomicReference.java \

Completed in 68 milliseconds