aoqi@0: /* aoqi@0: * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved. aoqi@0: * Copyright 2007, 2008, 2009, 2010, 2011 Red Hat, Inc. aoqi@0: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. aoqi@0: * aoqi@0: * This code is free software; you can redistribute it and/or modify it aoqi@0: * under the terms of the GNU General Public License version 2 only, as aoqi@0: * published by the Free Software Foundation. aoqi@0: * aoqi@0: * This code is distributed in the hope that it will be useful, but WITHOUT aoqi@0: * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or aoqi@0: * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License aoqi@0: * version 2 for more details (a copy is included in the LICENSE file that aoqi@0: * accompanied this code). aoqi@0: * aoqi@0: * You should have received a copy of the GNU General Public License version aoqi@0: * 2 along with this work; if not, write to the Free Software Foundation, aoqi@0: * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. aoqi@0: * aoqi@0: * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA aoqi@0: * or visit www.oracle.com if you need additional information or have any aoqi@0: * questions. aoqi@0: * aoqi@0: */ aoqi@0: aoqi@0: #ifndef CPU_ZERO_VM_GLOBALS_ZERO_HPP aoqi@0: #define CPU_ZERO_VM_GLOBALS_ZERO_HPP aoqi@0: aoqi@0: #include "utilities/globalDefinitions.hpp" aoqi@0: #include "utilities/macros.hpp" aoqi@0: aoqi@0: // Set the default values for platform dependent flags used by the aoqi@0: // runtime system. See globals.hpp for details of what they do. aoqi@0: aoqi@0: define_pd_global(bool, ConvertSleepToYield, true); aoqi@0: define_pd_global(bool, ShareVtableStubs, true); aoqi@0: define_pd_global(bool, CountInterpCalls, true); aoqi@0: define_pd_global(bool, NeedsDeoptSuspend, false); aoqi@0: aoqi@0: define_pd_global(bool, ImplicitNullChecks, true); aoqi@0: define_pd_global(bool, TrapBasedNullChecks, false); aoqi@0: define_pd_global(bool, UncommonNullCast, true); aoqi@0: aoqi@0: define_pd_global(intx, CodeEntryAlignment, 32); aoqi@0: define_pd_global(intx, OptoLoopAlignment, 16); aoqi@0: define_pd_global(intx, InlineFrequencyCount, 100); aoqi@0: define_pd_global(intx, InlineSmallCode, 1000 ); aoqi@0: define_pd_global(intx, PreInflateSpin, 10); aoqi@0: aoqi@0: define_pd_global(intx, StackYellowPages, 2); aoqi@0: define_pd_global(intx, StackRedPages, 1); aoqi@0: define_pd_global(intx, StackShadowPages, 5 LP64_ONLY(+1) DEBUG_ONLY(+3)); aoqi@0: aoqi@0: define_pd_global(bool, RewriteBytecodes, true); aoqi@0: define_pd_global(bool, RewriteFrequentPairs, true); aoqi@0: aoqi@0: define_pd_global(bool, UseMembar, true); aoqi@0: aoqi@0: // GC Ergo Flags aoqi@0: define_pd_global(uintx, CMSYoungGenPerWorker, 16*M); // default max size of CMS young gen, per GC worker thread aoqi@0: aoqi@0: define_pd_global(uintx, TypeProfileLevel, 0); aoqi@0: zmajo@7855: define_pd_global(bool, PreserveFramePointer, false); zmajo@7855: aoqi@0: #define ARCH_FLAGS(develop, product, diagnostic, experimental, notproduct) aoqi@0: aoqi@0: #endif // CPU_ZERO_VM_GLOBALS_ZERO_HPP