src/share/vm/opto/memnode.hpp

changeset 1040
98cb887364d3
parent 993
3b5ac9e7e6ea
child 1059
337400e7a5dd
     1.1 --- a/src/share/vm/opto/memnode.hpp	Fri Feb 27 08:34:19 2009 -0800
     1.2 +++ b/src/share/vm/opto/memnode.hpp	Fri Feb 27 13:27:09 2009 -0800
     1.3 @@ -757,10 +757,10 @@
     1.4  // Model.  Monitor-enter and volatile-load act as Aquires: no following ref
     1.5  // can be moved to before them.  We insert a MemBar-Acquire after a FastLock or
     1.6  // volatile-load.  Monitor-exit and volatile-store act as Release: no
     1.7 -// preceeding ref can be moved to after them.  We insert a MemBar-Release
     1.8 +// preceding ref can be moved to after them.  We insert a MemBar-Release
     1.9  // before a FastUnlock or volatile-store.  All volatiles need to be
    1.10  // serialized, so we follow all volatile-stores with a MemBar-Volatile to
    1.11 -// seperate it from any following volatile-load.
    1.12 +// separate it from any following volatile-load.
    1.13  class MemBarNode: public MultiNode {
    1.14    virtual uint hash() const ;                  // { return NO_HASH; }
    1.15    virtual uint cmp( const Node &n ) const ;    // Always fail, except on self

mercurial