Runnable jcstress + JUnit companion for the ankurm.com post on the Java Memory Model, double-checked locking, and the volatile fix.
481 B
481 B
java-core-examples
Runnable companion code for ankurm.com's Java-core / concurrency series. One Maven module per article; each module's own README has that article's version table, quickstart, and traps.
| Module | Post |
|---|---|
jmm |
The Java Memory Model Explained: volatile, happens-before, and Why Your Double-Checked Lock Failed |
License
MIT - see LICENSE (per-module; a repo-wide LICENSE will move here once a second module needs it).