src/cpu/zero/vm/shark_globals_zero.hpp

Wed, 22 Jan 2014 17:42:23 -0800

author
kvn
date
Wed, 22 Jan 2014 17:42:23 -0800
changeset 6503
a9becfeecd1b
parent 6466
6a936747b569
child 6876
710a3c8b516e
permissions
-rw-r--r--

Merge

twisti@2047 1 /*
jwilhelm@4576 2 * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
twisti@2047 3 * Copyright 2008, 2009, 2010 Red Hat, Inc.
twisti@2047 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
twisti@2047 5 *
twisti@2047 6 * This code is free software; you can redistribute it and/or modify it
twisti@2047 7 * under the terms of the GNU General Public License version 2 only, as
twisti@2047 8 * published by the Free Software Foundation.
twisti@2047 9 *
twisti@2047 10 * This code is distributed in the hope that it will be useful, but WITHOUT
twisti@2047 11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
twisti@2047 12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
twisti@2047 13 * version 2 for more details (a copy is included in the LICENSE file that
twisti@2047 14 * accompanied this code).
twisti@2047 15 *
twisti@2047 16 * You should have received a copy of the GNU General Public License version
twisti@2047 17 * 2 along with this work; if not, write to the Free Software Foundation,
twisti@2047 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
twisti@2047 19 *
twisti@2047 20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
twisti@2047 21 * or visit www.oracle.com if you need additional information or have any
twisti@2047 22 * questions.
twisti@2047 23 *
twisti@2047 24 */
twisti@2047 25
stefank@2314 26 #ifndef CPU_ZERO_VM_SHARK_GLOBALS_ZERO_HPP
stefank@2314 27 #define CPU_ZERO_VM_SHARK_GLOBALS_ZERO_HPP
stefank@2314 28
twisti@2047 29 // Set the default values for platform dependent flags used by the
twisti@2047 30 // Shark compiler. See globals.hpp for details of what they do.
twisti@2047 31
twisti@2047 32 define_pd_global(bool, BackgroundCompilation, true );
twisti@2047 33 define_pd_global(bool, UseTLAB, true );
twisti@2047 34 define_pd_global(bool, ResizeTLAB, true );
twisti@2047 35 define_pd_global(bool, InlineIntrinsics, false);
twisti@2047 36 define_pd_global(bool, PreferInterpreterNativeStubs, false);
twisti@2047 37 define_pd_global(bool, ProfileTraps, false);
twisti@2047 38 define_pd_global(bool, UseOnStackReplacement, true );
twisti@2047 39 define_pd_global(bool, TieredCompilation, false);
twisti@2047 40
twisti@2047 41 define_pd_global(intx, CompileThreshold, 1500);
twisti@2047 42 define_pd_global(intx, Tier2CompileThreshold, 1500);
twisti@2047 43 define_pd_global(intx, Tier3CompileThreshold, 2500);
twisti@2047 44 define_pd_global(intx, Tier4CompileThreshold, 4500);
twisti@2047 45
twisti@2047 46 define_pd_global(intx, BackEdgeThreshold, 100000);
twisti@2047 47 define_pd_global(intx, Tier2BackEdgeThreshold, 100000);
twisti@2047 48 define_pd_global(intx, Tier3BackEdgeThreshold, 100000);
twisti@2047 49 define_pd_global(intx, Tier4BackEdgeThreshold, 100000);
twisti@2047 50
twisti@2047 51 define_pd_global(intx, OnStackReplacePercentage, 933 );
twisti@2047 52 define_pd_global(intx, FreqInlineSize, 325 );
jwilhelm@4576 53 define_pd_global(uintx, NewRatio, 12 );
twisti@2047 54 define_pd_global(intx, NewSizeThreadIncrease, 4*K );
twisti@2047 55 define_pd_global(intx, InitialCodeCacheSize, 160*K);
twisti@2047 56 define_pd_global(intx, ReservedCodeCacheSize, 32*M );
twisti@2047 57 define_pd_global(bool, ProfileInterpreter, false);
twisti@2047 58 define_pd_global(intx, CodeCacheExpansionSize, 32*K );
twisti@2047 59 define_pd_global(uintx, CodeCacheMinBlockLength, 1 );
anoll@5352 60 define_pd_global(uintx, CodeCacheMinimumUseSpace, 200*K);
anoll@5352 61
anoll@5352 62 define_pd_global(uintx, MetaspaceSize, 12*M );
twisti@2047 63 define_pd_global(bool, NeverActAsServerClassMachine, true );
twisti@2047 64 define_pd_global(uint64_t, MaxRAM, 1ULL*G);
twisti@2047 65 define_pd_global(bool, CICompileOSR, true );
stefank@2314 66
stefank@2314 67 #endif // CPU_ZERO_VM_SHARK_GLOBALS_ZERO_HPP

mercurial