Searched refs:poll (Results 151 - 175 of 261) sorted by relevance

1234567891011

/openjdk9/jdk/src/java.base/share/classes/java/util/
H A DPriorityQueue.java43 * broken arbitrarily. The queue retrieval operations {@code poll},
70 * ({@code offer}, {@code poll}, {@code remove()} and {@code add});
540 lastRetElt = forgetMeNot.poll();
586 public E poll() { method in class:PriorityQueue
/openjdk9/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.lir/src/org/graalvm/compiler/lir/stackslotalloc/
H A DLSStackSlotAllocator.java362 StackInterval next = unhandled.poll();
365 finished(active.poll());
/openjdk9/jdk/test/java/util/Collections/
H A DRacingCollections.java103 case 3: q.poll(); break;
116 case 1: q.poll(); break;
/openjdk9/jdk/test/java/util/concurrent/ConcurrentLinkedQueue/
H A DWhiteBox.java160 assertEquals(0, q.poll()); // 2 leading nodes collapsed
263 q -> assertNotNull(q.poll()),
/openjdk9/jdk/src/java.base/linux/classes/sun/nio/ch/
H A DEPollArrayWrapper.java256 * Close epoll file descriptor and free poll array
263 int poll(long timeout) throws IOException { method in class:EPollArrayWrapper
/openjdk9/jdk/src/java.base/share/classes/java/util/concurrent/
H A DLinkedTransferQueue.java271 * of offer, put, poll, take, or transfer (each possibly with
289 * possible. If this call was untimed poll or tryTransfer
366 * poll repeatedly time out at the trailing node but otherwise
646 private static final int NOW = 0; // for untimed poll, tryTransfer
649 private static final int TIMED = 3; // for timed poll, tryTransfer
1317 * {@link #take} or timed {@link #poll(long,TimeUnit) poll}),
1331 * {@link #take} or timed {@link #poll(long,TimeUnit) poll}),
1350 * {@link #take} or timed {@link #poll(lon
1375 public E poll(long timeout, TimeUnit unit) throws InterruptedException { method in class:LinkedTransferQueue
1382 public E poll() { method in class:LinkedTransferQueue
[all...]
H A DPriorityBlockingQueue.java322 * Mechanics for poll(). Call only while holding lock.
533 public E poll() { method in class:PriorityBlockingQueue
556 public E poll(long timeout, TimeUnit unit) throws InterruptedException { method in class:PriorityBlockingQueue
H A DScheduledThreadPoolExecutor.java888 * poll(...), unless some other thread becomes leader in the
1084 * Performs common bookkeeping for poll and take: Replaces
1099 public RunnableScheduledFuture<?> poll() { method in class:ScheduledThreadPoolExecutor.DelayedWorkQueue
1146 public RunnableScheduledFuture<?> poll(long timeout, TimeUnit unit) method in class:ScheduledThreadPoolExecutor.DelayedWorkQueue
H A DThreadPoolExecutor.java453 * threads. We do not require that workQueue.poll() returning
458 * queues such as DelayQueues for which poll() is allowed to
873 * queue for which poll or drainTo may fail to remove some
1065 boolean timedOut = false; // Did the last poll() time out?
1091 workQueue.poll(keepAliveTime, TimeUnit.NANOSECONDS) :
2150 e.getQueue().poll();
/openjdk9/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.lir/src/org/graalvm/compiler/lir/dfa/
H A DLocationMarker.java80 AbstractBlockBase<?> block = worklist.poll();
/openjdk9/hotspot/src/share/tools/IdealGraphVisualizer/HierarchicalLayout/src/com/sun/hotspot/igv/hierarchicallayout/
H A DGraph.java157 Node<N, E> current = queue.poll();
/openjdk9/jdk/src/java.base/share/classes/java/lang/
H A DWeakPairMap.java189 while ((peer = (WeakRefPeer<?>) queue.poll()) != null) {
/openjdk9/jdk/src/java.base/share/classes/sun/nio/ch/
H A DFileLockTable.java262 while ((ref = (FileLockReference)queue.poll()) != null) {
H A DAsynchronousChannelGroupImpl.java64 // waiting on I/O events must be awokon to poll tasks from this queue.
197 return (taskQueue == null) ? null : taskQueue.poll();
H A DSocketChannelImpl.java53 // fd value needed for dev/poll. This value will remain valid
745 // poll()/getsockopt() does not report
888 * Translates native poll revent ops into a ready operation ops
906 // No need to poll again in checkConnect,
942 int poll(int events, long timeout) throws IOException { method in class:SocketChannelImpl
954 n = Net.poll(fd, events, timeout);
964 * Translates an interest operation set into a native poll event set
/openjdk9/jdk/src/java.base/solaris/classes/sun/nio/ch/
H A DDevPollArrayWrapper.java127 // descriptor is registered with /dev/poll.
208 // remove from /dev/poll
221 int poll(long timeout) throws IOException { method in class:DevPollArrayWrapper
/openjdk9/jdk/src/java.desktop/share/classes/sun/awt/
H A DSoftCache.java172 while ((vc = (ValueCell)queue.poll()) != null) {
/openjdk9/jdk/src/jdk.crypto.ucrypto/solaris/classes/com/oracle/security/ucrypto/
H A DNativeKey.java225 KeyRef next = (KeyRef) refQueue.poll();
/openjdk9/jdk/test/java/lang/ProcessHandle/
H A DOnExitTest.java242 line = blines.poll(5L, TimeUnit.SECONDS);
/openjdk9/jdk/test/javax/net/ssl/finalize/
H A DSSLSessionFinalizeTest.java242 while ((listener = sbListeners.poll()) != null) {
/openjdk9/langtools/test/tools/javac/classfiles/attributes/innerclasses/
H A DInnerClassesHierarchyTest.java95 String currentClassName = queue.poll();
/openjdk9/jdk/test/java/util/logging/Level/
H A DCustomLevel.java162 } while ((ref2 = queue.poll()) == null);
/openjdk9/jdk/test/java/util/concurrent/ConcurrentQueues/
H A DConcurrentQueueLoops.java140 Integer item = queue.poll();
H A DRemovePollRace.java37 * @summary Checks race between poll and remove(Object), while
156 if (q.poll() == Boolean.TRUE)
/openjdk9/jdk/test/javax/imageio/stream/StreamCloserLeak/test/
H A DMain.java193 Throwable theProblem = problems.poll();

Completed in 328 milliseconds

1234567891011