volatile variable can guarantee thread safety it? why?

NoSuchKey

Guess you like

Origin blog.51cto.com/14528283/2452577