Runnable jcstress + JUnit companion for the ankurm.com post on the Java Memory Model, double-checked locking, and the volatile fix.
14 lines
481 B
Markdown
14 lines
481 B
Markdown
# 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`](jmm/) | The Java Memory Model Explained: volatile, happens-before, and Why Your Double-Checked Lock Failed |
|
|
|
|
## License
|
|
|
|
MIT - see [LICENSE](jmm/LICENSE) (per-module; a repo-wide LICENSE will move here once a second
|
|
module needs it).
|