Searched refs:Phaser (Results 1 – 11 of 11) sorted by relevance
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | PhaserTest.java | 15 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 …]
|
D | DoubleAccumulatorTest.java | 11 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()
|
D | LongAccumulatorTest.java | 11 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()
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | PhaserTest.java | 41 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 …]
|
D | LongAccumulatorTest.java | 37 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()
|
D | DoubleAccumulatorTest.java | 37 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()
|
D | Collection8Test.java | 58 import java.util.concurrent.Phaser; 815 final Phaser threadsStarted = new Phaser(1); // register this thread
|
/libcore/luni/src/test/java/libcore/java/util/concurrent/ |
D | PhaserTest.java | 21 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/ |
D | Phaser.java | 260 public class Phaser { class 335 private final Phaser parent; 340 private final Phaser root; 381 final Phaser root = this.root; in doArrive() 428 final Phaser parent = this.parent; in doRegister() 487 final Phaser root = this.root; in reconcileState() 510 public Phaser() { in Phaser() method in Phaser 523 public Phaser(int parties) { in Phaser() method in Phaser 532 public Phaser(Phaser parent) { in Phaser() method in Phaser 548 public Phaser(Phaser parent, int parties) { in Phaser() method in Phaser [all …]
|
/libcore/api/ |
D | current.txt | 14878 public class Phaser { 14879 ctor public Phaser(); 14880 ctor public Phaser(int); 14881 ctor public Phaser(java.util.concurrent.Phaser); 14882 ctor public Phaser(java.util.concurrent.Phaser, int); 14892 method public java.util.concurrent.Phaser getParent(); 14895 method public java.util.concurrent.Phaser getRoot();
|
/libcore/ |
D | openjdk_java_files.bp | 970 "ojluni/src/main/java/java/util/concurrent/Phaser.java",
|