src/share/vm/runtime/orderAccess.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/src/share/vm/runtime/orderAccess.hpp	Wed Jan 15 01:42:39 2014
--- new/src/share/vm/runtime/orderAccess.hpp	Wed Jan 15 01:42:39 2014

*** 59,75 **** --- 59,75 ---- // // LoadStore: Load1(s); LoadStore; Store2 // // Ensures that Load1 completes before Store2 and any subsequent store // operations. Loads before Load1 may *not* float below Store2 and any ! // subseqeuent store operations. ! // subsequent store operations. // // StoreLoad: Store1(s); StoreLoad; Load2 // // Ensures that Store1 completes before Load2 and any subsequent load // operations. Stores before Store1 may *not* float below Load2 and any ! // subseqeuent load operations. ! // subsequent load operations. // // // We define two further operations, 'release' and 'acquire'. They are // mirror images of each other. //
*** 174,184 **** --- 174,184 ---- // Note: as of 6973570, we have replaced the originally static "dummy" field // (see above) by a volatile store to the stack. All of the versions of the // compilers that we currently use (SunStudio, gcc and VC++) respect the // semantics of volatile here. If you build HotSpot using other // compilers, you may need to verify that no compiler reordering occurs ! // across the sequence point respresented by the volatile access. ! // across the sequence point represented by the volatile access. // // // os::is_MP Considered Redundant // // Callers of this interface do not need to test os::is_MP() before
*** 309,318 **** --- 309,318 ---- static void release_store_ptr_fence(volatile void* p, void* v); private: // This is a helper that invokes the StubRoutines::fence_entry() // routine if it exists, It should only be used by platforms that ! // don't another way to do the inline eassembly. ! // don't have another way to do the inline assembly. static void StubRoutines_fence(); }; #endif // SHARE_VM_RUNTIME_ORDERACCESS_HPP

src/share/vm/runtime/orderAccess.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File