Home | History | Annotate | Download | only in concurrent

Lines Matching refs:striped

39  * A benchmark comparing the various striped implementations.
54 @Override Striped<Lock> get(int stripes) {
55 return Striped.lock(stripes);
59 @Override Striped<Lock> get(int stripes) {
60 return new Striped.SmallLazyStriped<Lock>(stripes, LOCK_SUPPLIER);
64 @Override Striped<Lock> get(int stripes) {
65 return new Striped.LargeLazyStriped<Lock>(stripes, LOCK_SUPPLIER);
69 abstract Striped<Lock> get(int stripes);
72 private Striped<Lock> striped;
77 this.striped = impl.get(numStripes);
98 Striped<Lock> striped = impl.get(numStripes);
100 locks.add(striped.getAt(i));
102 return striped;
119 Striped<Lock> stripedLocal = striped;
129 Striped<Lock> stripedLocal = striped;