堆中对象是线程共享的,为什么还需要用volatile来修饰对象?

NoSuchKey

Guess you like

Origin blog.csdn.net/zhangjin1120/article/details/120952232