OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:spins
(Results
1 - 2
of
2
) sorted by null
/libcore/luni/src/main/java/java/util/concurrent/
Exchanger.java
222
private static final int
SPINS
= (NCPU == 1) ? 0 : 2000;
231
private static final int TIMED_SPINS =
SPINS
/ 20;
433
int
spins
=
SPINS
;
local
438
else if (
spins
> 0)
439
--
spins
;
464
int
spins
=
SPINS
;
local
469
else if (
spins
> 0) // Spin-wait phase
470
--
spins
;
490
int
spins
= TIMED_SPINS;
local
[
all
...]
SynchronousQueue.java
372
*
Spins
/blocks until node s is matched by a fulfill operation.
389
* preceded by
spins
to avoid blocking when producers and
405
int
spins
= (shouldSpin(s)?
local
422
if (
spins
> 0)
423
spins
= shouldSpin(s)? (
spins
-1) : 0;
685
*
Spins
/blocks until node s is fulfilled.
697
int
spins
= ((head.next == s) ?
local
714
if (
spins
> 0)
715
--
spins
;
[
all
...]
Completed in 63 milliseconds