Performance and scalability: Dose the volatile keyword can lead to thread unsafe?
Hello everyone, Recently I participate in a training about Tune Java Programing. There was a subject refer to volatile keyword. The host of training told us volatile is not safe when used in multithread environment. So Does it really do? How's it going when used on multicore processor machine. Thanks a lot.
- Posted by: eric song
- Posted on: January 06 2009 04:12 EST