Home
last modified time | relevance | path

Searched refs:Phaser (Results 1 – 5 of 5) sorted by relevance

/libcore/jsr166-tests/src/test/java/jsr166/
DPhaserTest.java15 import java.util.concurrent.Phaser;
37 protected void assertState(Phaser phaser, in assertState()
47 protected void assertTerminated(Phaser phaser, int maxPhase, int parties) { in assertTerminated()
57 protected void assertTerminated(Phaser phaser, int maxPhase) { in assertTerminated()
66 Phaser phaser = new Phaser(); in testConstructorDefaultValues()
80 new Phaser(-1); in testConstructorNegativeParties()
91 new Phaser(new Phaser(), -1); in testConstructorNegativeParties2()
101 new Phaser(maxParties); in testConstructorPartiesExceedsLimit()
103 new Phaser(maxParties + 1); in testConstructorPartiesExceedsLimit()
107 new Phaser(new Phaser(), maxParties); in testConstructorPartiesExceedsLimit()
[all …]
DLongAccumulatorTest.java11 import java.util.concurrent.Phaser;
129 Phaser phaser = new Phaser(nthreads + 1); in testAccumulateAndGetMT()
142 final Phaser phaser;
145 AccTask(LongAccumulator acc, Phaser phaser, int incs) { in AccTask()
DDoubleAccumulatorTest.java11 import java.util.concurrent.Phaser;
129 Phaser phaser = new Phaser(nthreads + 1); in testAccumulateAndGetMT()
142 final Phaser phaser;
145 AccTask(DoubleAccumulator acc, Phaser phaser, int incs) { in AccTask()
/libcore/luni/src/main/java/java/util/concurrent/
DPhaser.java231 public class Phaser { class
306 private final Phaser parent;
311 private final Phaser root;
352 final Phaser root = this.root; in doArrive()
399 final Phaser parent = this.parent; in doRegister()
458 final Phaser root = this.root; in reconcileState()
481 public Phaser() { in Phaser() method in Phaser
494 public Phaser(int parties) { in Phaser() method in Phaser
503 public Phaser(Phaser parent) { in Phaser() method in Phaser
519 public Phaser(Phaser parent, int parties) { in Phaser() method in Phaser
[all …]
/libcore/
Dnon_openjdk_java_files.mk125 luni/src/main/java/java/util/concurrent/Phaser.java \