既然synchronized是"万能"的,为什么还需要volatile呢?

NoSuchKey

猜你喜欢

转载自juejin.im/post/5d5c9fbce51d4561cd246641