equal
deleted
inserted
replaced
216 * it may (or may not) reflect any updates since the iterator was |
216 * it may (or may not) reflect any updates since the iterator was |
217 * created. |
217 * created. |
218 * |
218 * |
219 * <h2><a name="MemoryVisibility">Memory Consistency Properties</a></h2> |
219 * <h2><a name="MemoryVisibility">Memory Consistency Properties</a></h2> |
220 * |
220 * |
221 * <a href="http://java.sun.com/docs/books/jls/third_edition/html/memory.html"> |
221 * Chapter 17 of |
222 * Chapter 17 of the Java Language Specification</a> defines the |
222 * <cite>The Java™ Language Specification</cite> |
|
223 * defines the |
223 * <i>happens-before</i> relation on memory operations such as reads and |
224 * <i>happens-before</i> relation on memory operations such as reads and |
224 * writes of shared variables. The results of a write by one thread are |
225 * writes of shared variables. The results of a write by one thread are |
225 * guaranteed to be visible to a read by another thread only if the write |
226 * guaranteed to be visible to a read by another thread only if the write |
226 * operation <i>happens-before</i> the read operation. The |
227 * operation <i>happens-before</i> the read operation. The |
227 * {@code synchronized} and {@code volatile} constructs, as well as the |
228 * {@code synchronized} and {@code volatile} constructs, as well as the |