符合 happens-before 8个原则是不是就可以认为代码为线程安全在这点上比较疑惑,在并发编程中怎么去应用这几个原则。
https://blog.csdn.net/u010833547/article/details/87272171