src/share/vm/runtime/orderAccess.hpp
Print this page
*** 20,29 ****
--- 20,34 ----
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
+ #ifndef SHARE_VM_RUNTIME_ORDERACCESS_HPP
+ #define SHARE_VM_RUNTIME_ORDERACCESS_HPP
+
+ #include "memory/allocation.hpp"
+
// Memory Access Ordering Model
//
// This interface is based on the JSR-133 Cookbook for Compiler Writers
// and on the IA64 memory model. It is the dynamic equivalent of the
// C/C++ volatile specifier. I.e., volatility restricts compile-time
*** 307,311 ****
--- 312,318 ----
// 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.
static void StubRoutines_fence();
};
+
+ #endif // SHARE_VM_RUNTIME_ORDERACCESS_HPP