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

Comparing jsr166/src/test/loops/ConcurrentQueueLoops.java (file contents):
Revision 1.5 by dl, Mon Feb 19 00:46:06 2007 UTC vs.
Revision 1.6 by dl, Fri Oct 23 19:57:06 2009 UTC

# Line 100 | Line 100 | public class ConcurrentQueueLoops {
100                              l = LoopHelpers.compute6(l);
101                      } else if ((misses++ & 255) == 0 &&
102                                 System.nanoTime() >= stopTime) {
103 <                        return new Integer(takes);
103 >                        return Integer.valueOf(takes);
104                      } else {
105                          for (int i = 0; i < BATCH_SIZE; ++i) {
106                              queue.offer(((l & lmask)== 0)? zero : one);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines