Path: blob/aarch64-shenandoah-jdk8u272-b10/hotspot/src/os/bsd/vm/globals_bsd.hpp
32285 views
/*1* Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved.2* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.3*4* This code is free software; you can redistribute it and/or modify it5* under the terms of the GNU General Public License version 2 only, as6* published by the Free Software Foundation.7*8* This code is distributed in the hope that it will be useful, but WITHOUT9* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or10* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License11* version 2 for more details (a copy is included in the LICENSE file that12* accompanied this code).13*14* You should have received a copy of the GNU General Public License version15* 2 along with this work; if not, write to the Free Software Foundation,16* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.17*18* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA19* or visit www.oracle.com if you need additional information or have any20* questions.21*22*/2324#ifndef OS_BSD_VM_GLOBALS_BSD_HPP25#define OS_BSD_VM_GLOBALS_BSD_HPP2627//28// Defines Bsd specific flags. They are not available on other platforms.29//30#define RUNTIME_OS_FLAGS(develop, develop_pd, product, product_pd, diagnostic, notproduct) \31product(bool, UseOprofile, false, \32"enable support for Oprofile profiler") \33\34product(bool, UseBsdPosixThreadCPUClocks, true, \35"enable fast Bsd Posix clocks where available") \36/* NB: The default value of UseBsdPosixThreadCPUClocks may be \37overridden in Arguments::parse_each_vm_init_arg. */ \38\39product(bool, UseHugeTLBFS, false, \40"Use MAP_HUGETLB for large pages") \41\42product(bool, UseSHM, false, \43"Use SYSV shared memory for large pages")4445//46// Defines Bsd-specific default values. The flags are available on all47// platforms, but they may have different default values on other platforms.48//49define_pd_global(bool, UseLargePages, false);50define_pd_global(bool, UseLargePagesIndividualAllocation, false);51define_pd_global(bool, UseOSErrorReporting, false);52define_pd_global(bool, UseThreadPriorities, true) ;5354#endif // OS_BSD_VM_GLOBALS_BSD_HPP555657