ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/concurrent/CopyOnWriteArrayList.java
(Generate patch)

Comparing jsr166/src/main/java/util/concurrent/CopyOnWriteArrayList.java (file contents):
Revision 1.50 by jsr166, Thu Aug 25 03:16:10 2005 UTC vs.
Revision 1.51 by brian, Fri Sep 2 01:03:08 2005 UTC

# Line 45 | Line 45 | import sun.misc.Unsafe;
45   * <a href="{@docRoot}/../guide/collections/index.html">
46   * Java Collections Framework</a>.
47   *
48 + * <p>
49 + * Memory visibility effects: As with other concurrent collections, state
50 + * changes to any object made prior to placing it into a <tt>CopyOnWriteArrayList</tt>
51 + * <a href="package-summary.html#MemoryVisibility"><i>happen-before</i></a>
52 + * that element is accessed via or removed from the <tt>CopyOnWriteArrayList</tt>.  
53 + *
54   * @since 1.5
55   * @author Doug Lea
56   * @param <E> the type of elements held in this collection

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines