False Sharing, Cache Line

Java8使用@Contended要指定命令行参数-XX:-RestrictContended

References

伪共享(false sharing),并发编程无声的性能杀手
伪共享和缓存行填充,从Java 6, Java 7 到Java 8
伪共享(False Sharing)和缓存行(Cache Line) 大杂烩
7个示例科普CPU Cache
关于CPU Cache -- 程序猿需要知道的那些事
Avoiding and Identifying False Sharing Among Threads
What False Sharing Is and How JVM Prevents It

你可能感兴趣的:(False Sharing, Cache Line)