3 ms·
> to a lesser extent Java, associate locks with data I'm not sure that's really true. Yes, monitors are attached to specific objects, but the ordering effects
by twic 11y ago
> to a lesser extent Java, associate locks with data
I'm not sure that'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.