Xiaokun's Architecture Exploration Notes
Jan 30, 2020 · Fundamentals
How False Sharing Slows Java Programs and How to Eliminate It
This article explains the concept of false sharing in CPU caches, demonstrates its performance impact with Java code, analyzes the results, and shows how to prevent it using the @Contended annotation and appropriate JVM flags.
CPU cacheContended annotationJava performance
0 likes · 9 min read