src/cpu/zero/vm/globals_zero.hpp

Tue, 17 Oct 2017 12:58:25 +0800

author
aoqi
date
Tue, 17 Oct 2017 12:58:25 +0800
changeset 7994
04ff2f6cd0eb
parent 7855
62df92c92d33
parent 6876
710a3c8b516e
child 9852
70aa912cebe5
permissions
-rw-r--r--

merge

aoqi@0 1 /*
aoqi@0 2 * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
aoqi@0 3 * Copyright 2007, 2008, 2009, 2010, 2011 Red Hat, Inc.
aoqi@0 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
aoqi@0 5 *
aoqi@0 6 * This code is free software; you can redistribute it and/or modify it
aoqi@0 7 * under the terms of the GNU General Public License version 2 only, as
aoqi@0 8 * published by the Free Software Foundation.
aoqi@0 9 *
aoqi@0 10 * This code is distributed in the hope that it will be useful, but WITHOUT
aoqi@0 11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
aoqi@0 12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
aoqi@0 13 * version 2 for more details (a copy is included in the LICENSE file that
aoqi@0 14 * accompanied this code).
aoqi@0 15 *
aoqi@0 16 * You should have received a copy of the GNU General Public License version
aoqi@0 17 * 2 along with this work; if not, write to the Free Software Foundation,
aoqi@0 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
aoqi@0 19 *
aoqi@0 20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
aoqi@0 21 * or visit www.oracle.com if you need additional information or have any
aoqi@0 22 * questions.
aoqi@0 23 *
aoqi@0 24 */
aoqi@0 25
aoqi@0 26 #ifndef CPU_ZERO_VM_GLOBALS_ZERO_HPP
aoqi@0 27 #define CPU_ZERO_VM_GLOBALS_ZERO_HPP
aoqi@0 28
aoqi@0 29 #include "utilities/globalDefinitions.hpp"
aoqi@0 30 #include "utilities/macros.hpp"
aoqi@0 31
aoqi@0 32 // Set the default values for platform dependent flags used by the
aoqi@0 33 // runtime system. See globals.hpp for details of what they do.
aoqi@0 34
aoqi@0 35 define_pd_global(bool, ConvertSleepToYield, true);
aoqi@0 36 define_pd_global(bool, ShareVtableStubs, true);
aoqi@0 37 define_pd_global(bool, CountInterpCalls, true);
aoqi@0 38 define_pd_global(bool, NeedsDeoptSuspend, false);
aoqi@0 39
aoqi@0 40 define_pd_global(bool, ImplicitNullChecks, true);
aoqi@0 41 define_pd_global(bool, TrapBasedNullChecks, false);
aoqi@0 42 define_pd_global(bool, UncommonNullCast, true);
aoqi@0 43
aoqi@0 44 define_pd_global(intx, CodeEntryAlignment, 32);
aoqi@0 45 define_pd_global(intx, OptoLoopAlignment, 16);
aoqi@0 46 define_pd_global(intx, InlineFrequencyCount, 100);
aoqi@0 47 define_pd_global(intx, InlineSmallCode, 1000 );
aoqi@0 48 define_pd_global(intx, PreInflateSpin, 10);
aoqi@0 49
aoqi@0 50 define_pd_global(intx, StackYellowPages, 2);
aoqi@0 51 define_pd_global(intx, StackRedPages, 1);
aoqi@0 52 define_pd_global(intx, StackShadowPages, 5 LP64_ONLY(+1) DEBUG_ONLY(+3));
aoqi@0 53
aoqi@0 54 define_pd_global(bool, RewriteBytecodes, true);
aoqi@0 55 define_pd_global(bool, RewriteFrequentPairs, true);
aoqi@0 56
aoqi@0 57 define_pd_global(bool, UseMembar, true);
aoqi@0 58
aoqi@0 59 // GC Ergo Flags
aoqi@0 60 define_pd_global(uintx, CMSYoungGenPerWorker, 16*M); // default max size of CMS young gen, per GC worker thread
aoqi@0 61
aoqi@0 62 define_pd_global(uintx, TypeProfileLevel, 0);
aoqi@0 63
zmajo@7855 64 define_pd_global(bool, PreserveFramePointer, false);
zmajo@7855 65
aoqi@0 66 #define ARCH_FLAGS(develop, product, diagnostic, experimental, notproduct)
aoqi@0 67
aoqi@0 68 #endif // CPU_ZERO_VM_GLOBALS_ZERO_HPP

mercurial