src/hotspot/os/linux/os_linux.hpp
changeset 53244 9807daeb47c4
parent 51989 7ac0ac1e57b6
child 53362 ef09fd205ef0
equal deleted inserted replaced
53243:8bea4144b21c 53244:9807daeb47c4
     1 /*
     1 /*
     2  * Copyright (c) 1999, 2018, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1999, 2019, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    20  * or visit www.oracle.com if you need additional information or have any
    20  * or visit www.oracle.com if you need additional information or have any
    21  * questions.
    21  * questions.
    22  *
    22  *
    23  */
    23  */
    24 
    24 
    25 #ifndef OS_LINUX_VM_OS_LINUX_HPP
    25 #ifndef OS_LINUX_OS_LINUX_HPP
    26 #define OS_LINUX_VM_OS_LINUX_HPP
    26 #define OS_LINUX_OS_LINUX_HPP
    27 
    27 
    28 // Linux_OS defines the interface to Linux operating systems
    28 // Linux_OS defines the interface to Linux operating systems
    29 
    29 
    30 // Information about the protection of the page at address '0' on this os.
    30 // Information about the protection of the page at address '0' on this os.
    31 static bool zero_page_read_protected() { return true; }
    31 static bool zero_page_read_protected() { return true; }
   351       return false;
   351       return false;
   352     }
   352     }
   353   }
   353   }
   354 };
   354 };
   355 
   355 
   356 #endif // OS_LINUX_VM_OS_LINUX_HPP
   356 #endif // OS_LINUX_OS_LINUX_HPP