ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/jdk7/java/util/concurrent/atomic/package-info.java
(Generate patch)

Comparing jsr166/src/jdk7/java/util/concurrent/atomic/package-info.java (file contents):
Revision 1.4 by jsr166, Tue May 28 21:09:06 2013 UTC vs.
Revision 1.7 by jsr166, Sun Sep 13 16:28:13 2015 UTC

# Line 66 | Line 66
66   *
67   * <p>The memory effects for accesses and updates of atomics generally
68   * follow the rules for volatiles, as stated in
69 < * <a href="http://docs.oracle.com/javase/specs/jls/se7/html/index.html">
69 > * <a href="https://docs.oracle.com/javase/specs/jls/se7/html/jls-17.html#jls-17.4">
70   * The Java Language Specification (17.4 Memory Model)</a>:
71   *
72   * <ul>
73   *
74 < *   <li> {@code get} has the memory effects of reading a
74 > *   <li>{@code get} has the memory effects of reading a
75   * {@code volatile} variable.
76   *
77 < *   <li> {@code set} has the memory effects of writing (assigning) a
77 > *   <li>{@code set} has the memory effects of writing (assigning) a
78   * {@code volatile} variable.
79   *
80 < *   <li> {@code lazySet} has the memory effects of writing (assigning)
80 > *   <li>{@code lazySet} has the memory effects of writing (assigning)
81   *   a {@code volatile} variable except that it permits reorderings with
82   *   subsequent (but not previous) memory actions that do not themselves
83   *   impose reordering constraints with ordinary non-{@code volatile}
# Line 91 | Line 91
91   *   with respect to previous or subsequent reads and writes of any
92   *   variables other than the target of the {@code weakCompareAndSet}.
93   *
94 < *   <li> {@code compareAndSet}
94 > *   <li>{@code compareAndSet}
95   *   and all other read-and-update operations such as {@code getAndIncrement}
96   *   have the memory effects of both reading and
97   *   writing {@code volatile} variables.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines