Java Concurrency Interview

The Java memory model question 14 of 180 mid

Which happens-before edges do you get for free?

The list worth memorising, because interviewers ask for it directly:

Everything in java.util.concurrent builds on these and documents its own: putting into a BlockingQueue happens-before taking that element out, submitting a task happens-before it running, and a CountDownLatch.countDown happens-before a returning await.

memory-model happens-before

Quiz yourself on The Java memory model Suggest a correction