src/java.base/share/classes/java/util/concurrent/package-info.java
changeset 58138 1e4270f875ee
parent 52959 a35f7a452257
equal deleted inserted replaced
58137:6a556bcd94fc 58138:1e4270f875ee
   224  * reflect any modifications subsequent to construction.
   224  * reflect any modifications subsequent to construction.
   225  * </ul>
   225  * </ul>
   226  *
   226  *
   227  * <h2 id="MemoryVisibility">Memory Consistency Properties</h2>
   227  * <h2 id="MemoryVisibility">Memory Consistency Properties</h2>
   228  *
   228  *
   229  * <a href="https://docs.oracle.com/javase/specs/jls/se11/html/jls-17.html#jls-17.4.5">
       
   230  * Chapter 17 of
   229  * Chapter 17 of
   231  * <cite>The Java&trade; Language Specification</cite></a> defines the
   230  * <cite>The Java&trade; Language Specification</cite> defines the
   232  * <i>happens-before</i> relation on memory operations such as reads and
   231  * <i>happens-before</i> relation on memory operations such as reads and
   233  * writes of shared variables.  The results of a write by one thread are
   232  * writes of shared variables.  The results of a write by one thread are
   234  * guaranteed to be visible to a read by another thread only if the write
   233  * guaranteed to be visible to a read by another thread only if the write
   235  * operation <i>happens-before</i> the read operation.  The
   234  * operation <i>happens-before</i> the read operation.  The
   236  * {@code synchronized} and {@code volatile} constructs, as well as the
   235  * {@code synchronized} and {@code volatile} constructs, as well as the
   300  *   subsequent to a successful return from the corresponding {@code await}
   299  *   subsequent to a successful return from the corresponding {@code await}
   301  *   in other threads.
   300  *   in other threads.
   302  *
   301  *
   303  * </ul>
   302  * </ul>
   304  *
   303  *
       
   304  * @jls 17.4.5 Happens-before Order
       
   305  *
   305  * @since 1.5
   306  * @since 1.5
   306  */
   307  */
   307 package java.util.concurrent;
   308 package java.util.concurrent;