JavaMemoryModel: What do I do with volatiles?

From: clifford click (cliff.click@Eng.Sun.COM)
Date: Fri Nov 17 2000 - 19:50:08 EST


I'm busy fixing volatiles in HotSpot.

Some months ago I got a "here's what to do with volatiles" list from
Doug Lea.
Then about a month ago there was this flurry of emails about volatiles,
with
no obvious conclusion (at least not obvious to me). So what do I do
with them
now? Is there a conservatively safe thing to do, that I can weaken
later if
the JMM decides it's OK?

Cliff

--
Cliff Click                  Compiler Designer and Researcher
cliffc at acm.org            Java Software
(408) 863-3266               MS UCUP02-302
-------------------------------
JavaMemoryModel mailing list - http://www.cs.umd.edu/~pugh/java/memoryModel



This archive was generated by hypermail 2b29 : Thu Oct 13 2005 - 07:00:28 EDT