harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r800324 - /harmony/enhanced/classlib/branches/java6/modules/concurrent/src/main/java/java/util/concurrent/atomic/package-info.java
Date Mon, 03 Aug 2009 12:04:52 GMT
Author: hindessm
Date: Mon Aug  3 12:04:52 2009
New Revision: 800324

URL: http://svn.apache.org/viewvc?rev=800324&view=rev
Log:
Update javadoc.

Modified:
    harmony/enhanced/classlib/branches/java6/modules/concurrent/src/main/java/java/util/concurrent/atomic/package-info.java

Modified: harmony/enhanced/classlib/branches/java6/modules/concurrent/src/main/java/java/util/concurrent/atomic/package-info.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/branches/java6/modules/concurrent/src/main/java/java/util/concurrent/atomic/package-info.java?rev=800324&r1=800323&r2=800324&view=diff
==============================================================================
--- harmony/enhanced/classlib/branches/java6/modules/concurrent/src/main/java/java/util/concurrent/atomic/package-info.java
(original)
+++ harmony/enhanced/classlib/branches/java6/modules/concurrent/src/main/java/java/util/concurrent/atomic/package-info.java
Mon Aug  3 12:04:52 2009
@@ -63,6 +63,14 @@
  *   <li> {@code set} has the memory effects of writing (assigning) a
  * {@code volatile} variable.
  *
+ *   <li> {@code lazySet} has the memory effects of writing (assigning)
+ *   a {@code volatile} variable except that it permits reorderings with
+ *   subsequent (but not previous) memory actions that do not themselves
+ *   impose reordering constraints with ordinary non-{@code volatile}
+ *   writes.  Among other usage contexts, {@code lazySet} may apply when
+ *   nulling out, for the sake of garbage collection, a reference that is
+ *   never accessed again.
+ *
  *   <li>{@code weakCompareAndSet} atomically reads and conditionally
  *   writes a variable but does <em>not</em>
  *   create any happens-before orderings, so provides no guarantees



Mime
View raw message