Happens-before relates to multi-threading applications where logic has happened before a sequence of thread logic has occurred.
While reading Java docs on Memory Consistency errors. I find points related to two actions that creates happen - before …
java java.util.concurrent happens-before