--- a/hotspot/src/share/vm/runtime/orderAccess.hpp Tue Nov 23 15:01:43 2010 -0500
+++ b/hotspot/src/share/vm/runtime/orderAccess.hpp Tue Nov 23 13:22:55 2010 -0800
@@ -22,6 +22,11 @@
*
*/
+#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
@@ -309,3 +314,5 @@
// don't another way to do the inline eassembly.
static void StubRoutines_fence();
};
+
+#endif // SHARE_VM_RUNTIME_ORDERACCESS_HPP