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.7 by dl, Mon Nov 28 15:40:56 2005 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
26 + $RUN CASLoops
27   echo SimpleReentrantLockLoops
28   $RUN SimpleReentrantLockLoops $TRIALS
29   echo SimpleMutexLoops
# Line 54 | Line 60 | echo TimeoutProducerConsumerLoops
60   $RUN TimeoutProducerConsumerLoops $TRIALS
61   echo ExecutorCompletionServiceLoops
62   $RUN ExecutorCompletionServiceLoops $TRIALS
63 < echo ConcurrentQueueLoops
63 > echo CachedThreadPoolLoops
64 > $RUN CachedThreadPoolLoops $TRIALS
65 > echo ConcurrentQueueLoops ConcurrentLinkedQueue
66   $RUN ConcurrentQueueLoops java.util.concurrent.ConcurrentLinkedQueue $TRIALS
67 + echo ConcurrentQueueLoops SynchronizedLinkedListQueue
68 + $RUN ConcurrentQueueLoops SynchronizedLinkedListQueue $TRIALS
69   echo ConcurrentDequeLoops
70   $RUN ConcurrentDequeLoops java.util.concurrent.LinkedBlockingDeque $TRIALS
71   echo DequeBash ArrayDeque
72   $RUN DequeBash java.util.ArrayDeque $TRIALS
73   echo DequeBash LinkedList
74   $RUN DequeBash java.util.LinkedList $TRIALS
75 < echo DequeBash LinkedBlockingdeque
75 > echo DequeBash LinkedBlockingDeque
76   $RUN DequeBash java.util.concurrent.LinkedBlockingDeque $TRIALS
77   echo ExchangeLoops
78   $RUN ExchangeLoops $TRIALS
79 + echo TimeoutExchangerLoops
80 + $RUN TimeoutExchangerLoops $TRIALS
81 + echo TSPExchangerTest
82 + $RUN TSPExchangerTest $TRIALS
83   echo CancelledFutureLoops
84   $RUN CancelledFutureLoops $TRIALS
85   echo MapCheck ConcurrentHashMap
# Line 82 | Line 96 | echo NavigableSetCheck TreeSet
96   $RUN NavigableSetCheck java.util.TreeSet $TRIALS
97   echo SetBash ConcurrentSkipListSet
98   $RUN SetBash java.util.concurrent.ConcurrentSkipListSet $TRIALS 100
99 + echo SetBash ConcurrentHashSet
100 + $RUN SetBash ConcurrentHashSet $TRIALS 100
101   echo NavigableSetCheck ConcurrentSkipListSet
102   $RUN NavigableSetCheck java.util.concurrent.ConcurrentSkipListSet $TRIALS
103   echo MapLoops ConcurrentHashMap
# Line 90 | Line 106 | echo MapLoops ConcurrentSkipListMap
106   $RUN MapLoops java.util.concurrent.ConcurrentSkipListMap $TRIALS
107   echo MapLoops RWTreeMap
108   $RUN MapLoops RWMap $TRIALS
109 + echo StringMapLoops ConcurrentHashMap
110 + $RUN StringMapLoops java.util.concurrent.ConcurrentHashMap $TRIALS
111 + echo StringMapLoops ConcurrentSkipListMap
112 + $RUN StringMapLoops java.util.concurrent.ConcurrentSkipListMap $TRIALS
113 + echo StringMapLoops RWTreeMap
114 + $RUN StringMapLoops RWMap $TRIALS
115   echo MapWordLoops ConcurrentHashMap
116   $RUN MapWordLoops java.util.concurrent.ConcurrentHashMap $TRIALS
117   echo MapWordLoops java.util.TreeMap
# Line 98 | Line 120 | echo MapWordLoops RWTreeMap
120   $RUN MapWordLoops RWMap $TRIALS
121   echo MapWordLoops ConcurrentSkipListMap
122   $RUN MapWordLoops java.util.concurrent.ConcurrentSkipListMap $TRIALS
123 + echo CollectionLoops RWCollection
124 + $RUN CollectionLoops RWCollection $TRIALS
125 + echo CollectionLoops SCollection
126 + $RUN CollectionLoops SCollection $TRIALS
127 + echo CollectionLoops SynchronizedCollection
128 + $RUN CollectionLoops SynchronizedCollection $TRIALS
129 + echo CollectionWordLoops ConcurrentSkipListSet
130 + $RUN CollectionWordLoops java.util.concurrent.ConcurrentSkipListSet
131 + echo CollectionWordLoops ConcurrentLinkedQueue
132 + $RUN CollectionWordLoops java.util.concurrent.ConcurrentLinkedQueue
133 + echo CollectionWordLoops CopyOnWriteArrayList
134 + $RUN CollectionWordLoops java.util.concurrent.CopyOnWriteArrayList
135 + echo CollectionWordLoops ArrayDeque
136 + $RUN CollectionWordLoops java.util.ArrayDeque
137 + echo ListBash CopyOnWriteArrayList
138 + $RUN ListBash java.util.concurrent.CopyOnWriteArrayList 100 100
139 + echo ListBash LinkedList
140 + $RUN ListBash java.util.LinkedList 100 100
141   echo TimeUnitLoops
142   $RUN TimeUnitLoops
143   echo ReadHoldingWriteLock
# Line 114 | Line 154 | echo RLIBar
154   $RUN RLIBar -np $TRIALS
155   echo RLIBar -batch 10
156   $RUN RLIBar -batch 10 -np $TRIALS
157 + echo UnboundedQueueFillEmptyLoops
158 + $RUN UnboundedQueueFillEmptyLoops java.util.ArrayDeque
159 + $RUN UnboundedQueueFillEmptyLoops java.util.PriorityQueue
160 + $RUN UnboundedQueueFillEmptyLoops java.util.concurrent.PriorityBlockingQueue
161 + $RUN UnboundedQueueFillEmptyLoops java.util.LinkedList
162 + $RUN UnboundedQueueFillEmptyLoops java.util.concurrent.ConcurrentLinkedQueue
163 + $RUN UnboundedQueueFillEmptyLoops java.util.concurrent.LinkedBlockingQueue
164 + $RUN UnboundedQueueFillEmptyLoops java.util.concurrent.LinkedBlockingDeque
165 + echo IteratorLoops
166 + $RUN IteratorLoops java.util.ArrayList
167 + $RUN IteratorLoops java.util.Vector
168 + $RUN IteratorLoops java.util.concurrent.CopyOnWriteArrayList
169 + $RUN IteratorLoops java.util.LinkedList
170 + $RUN IteratorLoops java.util.concurrent.ConcurrentLinkedQueue
171 + $RUN IteratorLoops java.util.concurrent.LinkedBlockingQueue
172 + $RUN IteratorLoops java.util.ArrayDeque
173 + $RUN IteratorLoops java.util.concurrent.LinkedBlockingDeque
174 + $RUN IteratorLoops java.util.PriorityQueue
175 + $RUN IteratorLoops java.util.concurrent.PriorityBlockingQueue
176 + $RUN IteratorLoops java.util.TreeSet
177 + $RUN IteratorLoops java.util.concurrent.ConcurrentSkipListSet
178 + $RUN IteratorLoops java.util.HashSet
179 + $RUN IteratorLoops ConcurrentHashSet

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines