Blog

Field guides: a whole topic in one placeBrowse guides
22 posts
Latest

Java memory model: volatile, atomic, synchronized and final, measured

volatile makes each read and each write visible, but it does not make hits++ one step. Three runnable JDK 27 experiments measure what volatile, AtomicInteger, synchronized and final each promise.

11 min read6 resourcesCompanion repolukas-grigis/java-foundations
Read article

Subscribe to the newsletter

One email per new article. Unsubscribe anytime.