&gt; to a lesser extent Java, associate locks with data<p>I&#x27;m not sure that&#x27;s really true. Yes, monitors are attached to specific objects, but the ordering effects of acquisition and release of a lock apply to reads and writes to all objects, not just the one the lock is attached to.