Pattern
Missing Happens-Before Visibility
missing-happens-before-visibility
A mutable object is shared across threads without synchronization or a happens-before relationship, so the Java Memory Model gives no visibility guarantee | Changes to a shared mutable object may never become visible to another thread | Use synchronization primitives, locks, or other publication mechanisms that establish a happens-before between the write and subsequent read