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

Comparing jsr166/src/test/loops/CancelledLockLoops.java (file contents):
Revision 1.2 by dl, Mon Feb 19 00:46:06 2007 UTC vs.
Revision 1.3 by jsr166, Thu Jan 22 19:39:18 2009 UTC

# Line 76 | Line 76 | public final class CancelledLockLoops {
76              finally {
77                  lock.unlock();
78              }
79 <            if (completed != 2)
79 >            if (c != 2)
80                  throw new Error("Completed != 2");
81              int r = result;
82              if (r == 0) // avoid overoptimization

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines