Re: JavaMemoryModel: Question about volatiles

From: Doug Lea (dl@cs.oswego.edu)
Date: Wed Mar 24 2004 - 19:02:20 EST


> Are there other platforms that can observe a memory value in its store
> buffer without having it become globally visible?

A "full" StoreLoad barrier is needed on all current processors to
conform to JMM volatile write semantics, so IA64 isn't at a special
disadvantage. There is room for exploiting special cases though, and
in some of them a clever optimizer could instead use a st.rel here
(which is an option that most other processors don't have).

-Doug

-------------------------------
JavaMemoryModel mailing list - http://www.cs.umd.edu/~pugh/java/memoryModel



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