diff src/os/windows/vm/os_windows.hpp @ 14436:b0133e4187d3

8028471: PPC64 (part 215): opto: Extend ImplicitNullCheck optimization. Summary: Fixed Implicit NULL check optimization for AIX, where the page at address '0' is only write-protected. Reviewed-by: kvn
author goetz
date Thu, 21 Nov 2013 18:29:34 -0800
parents 5e3b6f79d280
children bb9356ec5967 0118c8c7b80f
line wrap: on
line diff
--- a/src/os/windows/vm/os_windows.hpp	Thu Nov 21 12:30:35 2013 -0800
+++ b/src/os/windows/vm/os_windows.hpp	Thu Nov 21 18:29:34 2013 -0800
@@ -26,6 +26,9 @@
 #define OS_WINDOWS_VM_OS_WINDOWS_HPP
 // Win32_OS defines the interface to windows operating systems
 
+// Information about the protection of the page at address '0' on this os.
+static bool zero_page_read_protected() { return true; }
+
 class win32 {
   friend class os;