# | Line 1 | Line 1 | |
---|---|---|
1 | /* | |
2 | * Written by Doug Lea with assistance from members of JCP JSR-166 | |
3 | * Expert Group and released to the public domain, as explained at | |
4 | < | * http://creativecommons.org/licenses/publicdomain |
4 | > | * http://creativecommons.org/publicdomain/zero/1.0/ |
5 | */ | |
6 | ||
7 | class Sync100M { | |
# | Line 21 | Line 21 | class Sync100M { | |
21 | time = System.nanoTime() - start; | |
22 | secs = (double) time / 1000000000.0; | |
23 | System.out.println("time: " + secs); | |
24 | – | |
24 | } | |
25 | ||
26 | static final Object obj = new Object(); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |