OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SPINS
(Results
1 - 3
of
3
) sorted by null
/libcore/luni/src/main/java/java/util/concurrent/
Exchanger.java
160
* range of test machines.
Spins
and yields entail some limited
167
* mean time it cannot cancel the offer, so instead
spins
/yields.
256
* The bound for
spins
while waiting for a match. The actual
260
private static final int
SPINS
= 1 << 10;
285
int hash; // Pseudo-random for
spins
348
for (int h = p.hash,
spins
=
SPINS
;;) {
356
else if (
spins
> 0) {
359
h =
SPINS
| (int)t.getId();
361
(--
spins
& ((SPINS >>> 1) - 1)) == 0
456
int
spins
= (NCPU > 1) ? SPINS : 1;
local
[
all
...]
CompletableFuture.java
398
*
Spins
before blocking in waitingGet
400
static final int
SPINS
= (Runtime.getRuntime().availableProcessors() > 1 ?
1708
int
spins
= SPINS;
local
[
all
...]
/libcore/luni/src/main/java/java/util/concurrent/locks/
StampedLock.java
207
* thrashing among many threads. We limit
spins
to the head of
208
* queue. A thread spin-waits up to
SPINS
times (where each
213
*
spins
(up to MAX_HEAD_SPINS) to reduce the likelihood of
242
private static final int
SPINS
= (NCPU > 1) ? 1 << 6 : 0;
[
all
...]
Completed in 60 milliseconds