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

Comparing jsr166/src/test/loops/ConcurrentDequeLoops.java (file contents):
Revision 1.10 by jsr166, Thu Dec 18 18:13:06 2014 UTC vs.
Revision 1.11 by jsr166, Thu Dec 18 18:43:22 2014 UTC

# Line 18 | Line 18 | public class ConcurrentDequeLoops {
18          int maxStages = 8;
19          int items = 1000000;
20  
21 <        Class klass = null;
21 >        Class<?> klass = null;
22          if (args.length > 0) {
23              try {
24                  klass = Class.forName(args[0]);
# Line 116 | Line 116 | public class ConcurrentDequeLoops {
116          }
117      }
118  
119 <    static void oneRun(Class klass, int n, int items) throws Exception {
119 >    static void oneRun(Class<?> klass, int n, int items) throws Exception {
120          Deque<Integer> q = (Deque<Integer>) klass.newInstance();
121          LoopHelpers.BarrierTimer timer = new LoopHelpers.BarrierTimer();
122          CyclicBarrier barrier = new CyclicBarrier(n + 1, timer);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines