[concurrency-interest] Significance of volatile for Objects

Pavitar Singh pavitar at pramati.com
Fri Mar 7 04:04:00 EST 2008


If i have something like this:

volatile Map data = new HashMap();

then what are the gurantees provided by volatile.

I know this is wrong usage of volatile. But i just wanted to know
gurantees provided by volatile in case of Objects.


More information about the Concurrency-interest mailing list