Skip to main content

2 docs tagged with "race-condition"

View all tags

Handling Contention

Strategies for dealing with race conditions, concurrent writes, hot spots, and lock contention in distributed systems including optimistic locking, MVCC, distributed locks, and queue-based serialization.

Java Memory Model, Happens-Before & Race Conditions

Deep dive into the Java Memory Model (JMM), C2 JIT loop-invariant hoisting vs MESI cache coherence, Store Buffers (x86 TSO vs ARMv8), JLS 17.4.5 Happens-Before rules, Transitive Piggybacking, Race Conditions vs Data Races, and ThreadLocal internals.