ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/loops/runscript
(Generate patch)

Comparing jsr166/src/test/loops/runscript (file contents):
Revision 1.1 by dl, Mon May 2 19:19:38 2005 UTC vs.
Revision 1.14 by jsr166, Mon Nov 2 20:23:53 2009 UTC

# Line 4 | Line 4
4   # the supplied TRIALS, which controls the max number of threads
5   # and/or test iterations in most programs.
6  
7 + # Written by Doug Lea with assistance from members of JCP JSR-166
8 + # Expert Group and released to the public domain, as explained at
9 + # http://creativecommons.org/licenses/publicdomain
10 +
11   # Set env variable RUNJAVA to java executable. Otherwise uses "java"
12   RUN="java"
13   if [ -n "$RUNJAVA" ]; then
# Line 18 | Line 22 | fi
22   echo "Java is " $RUN
23   echo "Trials per test: "  $TRIALS
24  
25 + echo CASLoops 4 #$TRIALS
26 + $RUN CASLoops 4 #$TRIALS
27   echo SimpleReentrantLockLoops
28   $RUN SimpleReentrantLockLoops $TRIALS
29   echo SimpleMutexLoops
# Line 44 | Line 50 | echo LockOncePerThreadLoops
50   $RUN LockOncePerThreadLoops 5 #$TRIALS
51   echo ProducerConsumerLoops
52   $RUN ProducerConsumerLoops $TRIALS
53 + echo OfferPollLoops
54 + $RUN OfferPollLoops $TRIALS
55   echo MultipleProducersSingleConsumerLoops
56   $RUN MultipleProducersSingleConsumerLoops $TRIALS
57   echo SingleProducerMultipleConsumerLoops
# Line 54 | Line 62 | echo TimeoutProducerConsumerLoops
62   $RUN TimeoutProducerConsumerLoops $TRIALS
63   echo ExecutorCompletionServiceLoops
64   $RUN ExecutorCompletionServiceLoops $TRIALS
65 < echo ConcurrentQueueLoops
65 > echo CachedThreadPoolLoops
66 > $RUN CachedThreadPoolLoops $TRIALS
67 > echo ConcurrentQueueLoops ConcurrentLinkedQueue
68   $RUN ConcurrentQueueLoops java.util.concurrent.ConcurrentLinkedQueue $TRIALS
69 + echo ConcurrentQueueLoops SynchronizedLinkedListQueue
70 + $RUN ConcurrentQueueLoops SynchronizedLinkedListQueue $TRIALS
71 + echo ConcurrentQueueLoops java.util.concurrent.LinkedTransferQueue
72 + $RUN ConcurrentQueueLoops java.util.concurrent.LinkedTransferQueue $TRIALS
73   echo ConcurrentDequeLoops
74   $RUN ConcurrentDequeLoops java.util.concurrent.LinkedBlockingDeque $TRIALS
75 + $RUN OfferDrainToLoops
76   echo DequeBash ArrayDeque
77   $RUN DequeBash java.util.ArrayDeque $TRIALS
78   echo DequeBash LinkedList
79   $RUN DequeBash java.util.LinkedList $TRIALS
80 < echo DequeBash LinkedBlockingdeque
80 > echo DequeBash LinkedBlockingDeque
81   $RUN DequeBash java.util.concurrent.LinkedBlockingDeque $TRIALS
82   echo ExchangeLoops
83   $RUN ExchangeLoops $TRIALS
84 + echo TimeoutExchangerLoops
85 + $RUN TimeoutExchangerLoops $TRIALS
86 + echo TSPExchangerTest
87 + $RUN TSPExchangerTest $TRIALS
88   echo CancelledFutureLoops
89   $RUN CancelledFutureLoops $TRIALS
90   echo MapCheck ConcurrentHashMap
# Line 82 | Line 101 | echo NavigableSetCheck TreeSet
101   $RUN NavigableSetCheck java.util.TreeSet $TRIALS
102   echo SetBash ConcurrentSkipListSet
103   $RUN SetBash java.util.concurrent.ConcurrentSkipListSet $TRIALS 100
104 + echo SetBash ConcurrentHashSet
105 + $RUN SetBash ConcurrentHashSet $TRIALS 100
106   echo NavigableSetCheck ConcurrentSkipListSet
107   $RUN NavigableSetCheck java.util.concurrent.ConcurrentSkipListSet $TRIALS
108   echo MapLoops ConcurrentHashMap
# Line 90 | Line 111 | echo MapLoops ConcurrentSkipListMap
111   $RUN MapLoops java.util.concurrent.ConcurrentSkipListMap $TRIALS
112   echo MapLoops RWTreeMap
113   $RUN MapLoops RWMap $TRIALS
114 + echo StringMapLoops ConcurrentHashMap
115 + $RUN StringMapLoops java.util.concurrent.ConcurrentHashMap $TRIALS
116 + echo StringMapLoops ConcurrentSkipListMap
117 + $RUN StringMapLoops java.util.concurrent.ConcurrentSkipListMap $TRIALS
118 + echo StringMapLoops RWTreeMap
119 + $RUN StringMapLoops RWMap $TRIALS
120   echo MapWordLoops ConcurrentHashMap
121   $RUN MapWordLoops java.util.concurrent.ConcurrentHashMap $TRIALS
122   echo MapWordLoops java.util.TreeMap
# Line 98 | Line 125 | echo MapWordLoops RWTreeMap
125   $RUN MapWordLoops RWMap $TRIALS
126   echo MapWordLoops ConcurrentSkipListMap
127   $RUN MapWordLoops java.util.concurrent.ConcurrentSkipListMap $TRIALS
128 + echo CollectionLoops RWCollection
129 + $RUN CollectionLoops RWCollection $TRIALS
130 + echo CollectionLoops SCollection
131 + $RUN CollectionLoops SCollection $TRIALS
132 + echo CollectionLoops SynchronizedCollection
133 + $RUN CollectionLoops SynchronizedCollection $TRIALS
134 + echo CollectionWordLoops ConcurrentSkipListSet
135 + $RUN CollectionWordLoops java.util.concurrent.ConcurrentSkipListSet
136 + echo CollectionWordLoops ConcurrentLinkedQueue
137 + $RUN CollectionWordLoops java.util.concurrent.ConcurrentLinkedQueue
138 + echo CollectionWordLoops CopyOnWriteArrayList
139 + $RUN CollectionWordLoops java.util.concurrent.CopyOnWriteArrayList
140 + echo CollectionWordLoops ArrayDeque
141 + $RUN CollectionWordLoops java.util.ArrayDeque
142 + echo ListBash CopyOnWriteArrayList
143 + $RUN ListBash java.util.concurrent.CopyOnWriteArrayList 100 100
144 + echo ListBash LinkedList
145 + $RUN ListBash java.util.LinkedList 100 100
146   echo TimeUnitLoops
147   $RUN TimeUnitLoops
148   echo ReadHoldingWriteLock
# Line 107 | Line 152 | $RUN Finals
152   echo FinalLongTest
153   $RUN FinalLongTest
154   echo RLJBar
155 < $RUN RLJBar
156 < echo RLJBar -b
157 < $RUN RLJBar -b
155 > $RUN RLJBar
156 > echo RLJBar -b
157 > $RUN RLJBar -b
158   echo RLIBar
159   $RUN RLIBar -np $TRIALS
160 < echo RLIBar -batch 10
160 > echo RLIBar -batch 10
161   $RUN RLIBar -batch 10 -np $TRIALS
162 + echo UnboundedQueueFillEmptyLoops
163 + $RUN UnboundedQueueFillEmptyLoops java.util.ArrayDeque
164 + $RUN UnboundedQueueFillEmptyLoops java.util.PriorityQueue
165 + $RUN UnboundedQueueFillEmptyLoops java.util.concurrent.PriorityBlockingQueue
166 + $RUN UnboundedQueueFillEmptyLoops java.util.LinkedList
167 + $RUN UnboundedQueueFillEmptyLoops java.util.concurrent.ConcurrentLinkedQueue
168 + $RUN UnboundedQueueFillEmptyLoops java.util.concurrent.LinkedBlockingQueue
169 + $RUN UnboundedQueueFillEmptyLoops java.util.concurrent.LinkedBlockingDeque
170 + $RUN UnboundedQueueFillEmptyLoops java.util.concurrent.LinkedTransferQueue
171 + echo IteratorLoops
172 + $RUN IteratorLoops java.util.ArrayList
173 + $RUN IteratorLoops java.util.Vector
174 + $RUN IteratorLoops java.util.concurrent.CopyOnWriteArrayList
175 + $RUN IteratorLoops java.util.LinkedList
176 + $RUN IteratorLoops java.util.concurrent.ConcurrentLinkedQueue
177 + $RUN IteratorLoops java.util.concurrent.LinkedBlockingQueue
178 + $RUN IteratorLoops java.util.ArrayDeque
179 + $RUN IteratorLoops java.util.concurrent.LinkedBlockingDeque
180 + $RUN IteratorLoops java.util.PriorityQueue
181 + $RUN IteratorLoops java.util.concurrent.PriorityBlockingQueue
182 + $RUN IteratorLoops java.util.TreeSet
183 + $RUN IteratorLoops java.util.concurrent.ConcurrentSkipListSet
184 + $RUN IteratorLoops java.util.HashSet
185 + $RUN IteratorLoops ConcurrentHashSet
186 + $RUN IteratorLoops java.util.concurrent.LinkedTransferQueue
187 + $RUN DynamicLeftSpineFib
188 + $RUN NQueensCS
189 + $RUN Integrate
190 + $RUN FJJacobi
191 + $RUN FJPhaserJacobi
192 + $RUN ThreadPhaserJacobi
193 + $RUN TieredPhaserLoops
194 + $RUN PhaserLoops
195 + $RUN CyclicBarrierLoops
196 + $RUN FJPhaserLoops
197 + $RUN SpinningTieredPhaserLoops
198 + $RUN TorusSpanningTree

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines