src/share/classes/java/util/concurrent/locks/Lock.java

Print this page

        

*** 119,129 **** * <h3>Memory Synchronization</h3> * * <p>All {@code Lock} implementations <em>must</em> enforce the same * memory synchronization semantics as provided by the built-in monitor * lock, as described in ! * <a href="http://docs.oracle.com/javase/specs/jls/se7/html/jls-17.html#jls-17.4"> * The Java Language Specification (17.4 Memory Model)</a>: * <ul> * <li>A successful {@code lock} operation has the same memory * synchronization effects as a successful <em>Lock</em> action. * <li>A successful {@code unlock} operation has the same --- 119,129 ---- * <h3>Memory Synchronization</h3> * * <p>All {@code Lock} implementations <em>must</em> enforce the same * memory synchronization semantics as provided by the built-in monitor * lock, as described in ! * <a href="https://docs.oracle.com/javase/specs/jls/se7/html/jls-17.html#jls-17.4"> * The Java Language Specification (17.4 Memory Model)</a>: * <ul> * <li>A successful {@code lock} operation has the same memory * synchronization effects as a successful <em>Lock</em> action. * <li>A successful {@code unlock} operation has the same