globals_linux.hpp revision 0:a61af66fc99e
1169695Skan/* 2169695Skan * Copyright 2005-2007 Sun Microsystems, Inc. All Rights Reserved. 3169695Skan * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4169695Skan * 5169695Skan * This code is free software; you can redistribute it and/or modify it 6169695Skan * under the terms of the GNU General Public License version 2 only, as 7169695Skan * published by the Free Software Foundation. 8169695Skan * 9169695Skan * This code is distributed in the hope that it will be useful, but WITHOUT 10169695Skan * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11169695Skan * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 12169695Skan * version 2 for more details (a copy is included in the LICENSE file that 13169695Skan * accompanied this code). 14169695Skan * 15169695Skan * You should have received a copy of the GNU General Public License version 16169695Skan * 2 along with this work; if not, write to the Free Software Foundation, 17169695Skan * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18169695Skan * 19169695Skan * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, 20169695Skan * CA 95054 USA or visit www.sun.com if you need additional information or 21169695Skan * have any questions. 22169695Skan * 23169695Skan */ 24169695Skan 25169695Skan// 26169695Skan// Defines Linux specific flags. They are not available on other platforms. 27169695Skan// 28169695Skan#define RUNTIME_OS_FLAGS(develop, develop_pd, product, product_pd, diagnostic, notproduct) \ 29169695Skan product(bool, UseOprofile, false, \ 30169695Skan "enable support for Oprofile profiler") \ 31169695Skan \ 32169695Skan product(bool, UseLinuxPosixThreadCPUClocks, false, \ 33169695Skan "enable fast Linux Posix clocks where available") \ 34169695Skan 35169695Skan 36169695Skan// 37169695Skan// Defines Linux-specific default values. The flags are available on all 38169695Skan// platforms, but they may have different default values on other platforms. 39169695Skan// 40169695Skandefine_pd_global(bool, UseLargePages, false); 41169695Skandefine_pd_global(bool, UseOSErrorReporting, false); 42169695Skandefine_pd_global(bool, UseThreadPriorities, true) ; 43169695Skan