Home
last modified time | relevance | path

Searched refs:Phaser (Results 1 – 12 of 12) 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/ojluni/src/test/java/util/concurrent/tck/
DPhaserTest.java41 import java.util.concurrent.Phaser;
61 protected void assertState(Phaser phaser, in assertState()
71 protected void assertTerminated(Phaser phaser, int maxPhase, int parties) { in assertTerminated()
81 protected void assertTerminated(Phaser phaser, int maxPhase) { in assertTerminated()
90 Phaser phaser = new Phaser(); in testConstructorDefaultValues()
104 new Phaser(-1); in testConstructorNegativeParties()
115 new Phaser(new Phaser(), -1); in testConstructorNegativeParties2()
125 new Phaser(maxParties); in testConstructorPartiesExceedsLimit()
127 new Phaser(maxParties + 1); in testConstructorPartiesExceedsLimit()
131 new Phaser(new Phaser(), maxParties); in testConstructorPartiesExceedsLimit()
[all …]
DDoubleAccumulatorTest.java37 import java.util.concurrent.Phaser;
152 Phaser phaser = new Phaser(nthreads + 1); in testAccumulateAndGetMT()
165 final Phaser phaser;
168 AccTask(DoubleAccumulator acc, Phaser phaser, int incs) { in AccTask()
DLongAccumulatorTest.java37 import java.util.concurrent.Phaser;
152 Phaser phaser = new Phaser(nthreads + 1); in testAccumulateAndGetMT()
165 final Phaser phaser;
168 AccTask(LongAccumulator acc, Phaser phaser, int incs) { in AccTask()
DCollection8Test.java58 import java.util.concurrent.Phaser;
815 final Phaser threadsStarted = new Phaser(1); // register this thread
/libcore/luni/src/test/java/libcore/java/util/concurrent/
DPhaserTest.java21 import java.util.concurrent.Phaser;
34 Phaser root = new Phaser(); in testGetRoot()
35 Phaser parent = new Phaser(root); in testGetRoot()
36 Phaser child = new Phaser(parent); in testGetRoot()
/libcore/ojluni/src/main/java/java/util/concurrent/
DPhaser.java263 public class Phaser { class
338 private final Phaser parent;
343 private final Phaser root;
380 final Phaser root = this.root; in doArrive()
427 final Phaser parent = this.parent; in doRegister()
486 final Phaser root = this.root; in reconcileState()
509 public Phaser() { in Phaser() method in Phaser
522 public Phaser(int parties) { in Phaser() method in Phaser
531 public Phaser(Phaser parent) { in Phaser() method in Phaser
547 public Phaser(Phaser parent, int parties) { in Phaser() method in Phaser
[all …]
/libcore/
Dopenjdk_java_files.bp1004 "ojluni/src/main/java/java/util/concurrent/Phaser.java",
DEXPECTED_UPSTREAM1047 …/main/java/java/util/concurrent/Phaser.java,jdk17u/jdk-17.0.6-ga,src/java.base/share/classes/java/…
/libcore/api/
Dcurrent.txt15660 public class Phaser {
15661 ctor public Phaser();
15662 ctor public Phaser(int);
15663 ctor public Phaser(java.util.concurrent.Phaser);
15664 ctor public Phaser(java.util.concurrent.Phaser, int);
15674 method public java.util.concurrent.Phaser getParent();
15677 method public java.util.concurrent.Phaser getRoot();