comparison src/share/vm/opto/memnode.hpp @ 605:98cb887364d3

6810672: Comment typos Summary: I have collected some typos I have found while looking at the code. Reviewed-by: kvn, never
author twisti
date Fri, 27 Feb 2009 13:27:09 -0800
parents 3b5ac9e7e6ea
children 337400e7a5dd
comparison
equal deleted inserted replaced
604:ec59443af135 605:98cb887364d3
755 //------------------------------MemBar----------------------------------------- 755 //------------------------------MemBar-----------------------------------------
756 // There are different flavors of Memory Barriers to match the Java Memory 756 // There are different flavors of Memory Barriers to match the Java Memory
757 // Model. Monitor-enter and volatile-load act as Aquires: no following ref 757 // Model. Monitor-enter and volatile-load act as Aquires: no following ref
758 // can be moved to before them. We insert a MemBar-Acquire after a FastLock or 758 // can be moved to before them. We insert a MemBar-Acquire after a FastLock or
759 // volatile-load. Monitor-exit and volatile-store act as Release: no 759 // volatile-load. Monitor-exit and volatile-store act as Release: no
760 // preceeding ref can be moved to after them. We insert a MemBar-Release 760 // preceding ref can be moved to after them. We insert a MemBar-Release
761 // before a FastUnlock or volatile-store. All volatiles need to be 761 // before a FastUnlock or volatile-store. All volatiles need to be
762 // serialized, so we follow all volatile-stores with a MemBar-Volatile to 762 // serialized, so we follow all volatile-stores with a MemBar-Volatile to
763 // seperate it from any following volatile-load. 763 // separate it from any following volatile-load.
764 class MemBarNode: public MultiNode { 764 class MemBarNode: public MultiNode {
765 virtual uint hash() const ; // { return NO_HASH; } 765 virtual uint hash() const ; // { return NO_HASH; }
766 virtual uint cmp( const Node &n ) const ; // Always fail, except on self 766 virtual uint cmp( const Node &n ) const ; // Always fail, except on self
767 767
768 virtual uint size_of() const { return sizeof(*this); } 768 virtual uint size_of() const { return sizeof(*this); }