src/os/windows/vm/interfaceSupport_windows.hpp
Print this page
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
@@ -20,10 +20,13 @@
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
+#ifndef OS_WINDOWS_VM_INTERFACESUPPORT_WINDOWS_HPP
+#define OS_WINDOWS_VM_INTERFACESUPPORT_WINDOWS_HPP
+
// Contains inlined functions for class InterfaceSupport
static inline void serialize_memory(JavaThread *thread) {
// due to chained nature of SEH handlers we have to be sure
// that our handler is always last handler before an attempt to write
@@ -37,5 +40,7 @@
os::write_memory_serialize_page(thread);
} __except (os::win32::
serialize_fault_filter((_EXCEPTION_POINTERS*)_exception_info()))
{}
}
+
+#endif // OS_WINDOWS_VM_INTERFACESUPPORT_WINDOWS_HPP