jmm: Java Memory Model companion code (volatile, happens-before, DCL)
Runnable jcstress + JUnit companion for the ankurm.com post on the Java Memory Model, double-checked locking, and the volatile fix.
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
# 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).
|
||||
Reference in New Issue
Block a user