twisti@2047: /* jwilhelm@4576: * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved. twisti@2047: * Copyright 2008, 2009, 2010 Red Hat, Inc. twisti@2047: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. twisti@2047: * twisti@2047: * This code is free software; you can redistribute it and/or modify it twisti@2047: * under the terms of the GNU General Public License version 2 only, as twisti@2047: * published by the Free Software Foundation. twisti@2047: * twisti@2047: * This code is distributed in the hope that it will be useful, but WITHOUT twisti@2047: * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or twisti@2047: * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License twisti@2047: * version 2 for more details (a copy is included in the LICENSE file that twisti@2047: * accompanied this code). twisti@2047: * twisti@2047: * You should have received a copy of the GNU General Public License version twisti@2047: * 2 along with this work; if not, write to the Free Software Foundation, twisti@2047: * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. twisti@2047: * twisti@2047: * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA twisti@2047: * or visit www.oracle.com if you need additional information or have any twisti@2047: * questions. twisti@2047: * twisti@2047: */ twisti@2047: stefank@2314: #ifndef CPU_ZERO_VM_SHARK_GLOBALS_ZERO_HPP stefank@2314: #define CPU_ZERO_VM_SHARK_GLOBALS_ZERO_HPP stefank@2314: twisti@2047: // Set the default values for platform dependent flags used by the twisti@2047: // Shark compiler. See globals.hpp for details of what they do. twisti@2047: twisti@2047: define_pd_global(bool, BackgroundCompilation, true ); twisti@2047: define_pd_global(bool, UseTLAB, true ); twisti@2047: define_pd_global(bool, ResizeTLAB, true ); twisti@2047: define_pd_global(bool, InlineIntrinsics, false); twisti@2047: define_pd_global(bool, PreferInterpreterNativeStubs, false); twisti@2047: define_pd_global(bool, ProfileTraps, false); twisti@2047: define_pd_global(bool, UseOnStackReplacement, true ); twisti@2047: define_pd_global(bool, TieredCompilation, false); twisti@2047: twisti@2047: define_pd_global(intx, CompileThreshold, 1500); twisti@2047: define_pd_global(intx, Tier2CompileThreshold, 1500); twisti@2047: define_pd_global(intx, Tier3CompileThreshold, 2500); twisti@2047: define_pd_global(intx, Tier4CompileThreshold, 4500); twisti@2047: twisti@2047: define_pd_global(intx, BackEdgeThreshold, 100000); twisti@2047: define_pd_global(intx, Tier2BackEdgeThreshold, 100000); twisti@2047: define_pd_global(intx, Tier3BackEdgeThreshold, 100000); twisti@2047: define_pd_global(intx, Tier4BackEdgeThreshold, 100000); twisti@2047: twisti@2047: define_pd_global(intx, OnStackReplacePercentage, 933 ); twisti@2047: define_pd_global(intx, FreqInlineSize, 325 ); jwilhelm@4576: define_pd_global(uintx, NewRatio, 12 ); twisti@2047: define_pd_global(intx, NewSizeThreadIncrease, 4*K ); twisti@2047: define_pd_global(intx, InitialCodeCacheSize, 160*K); twisti@2047: define_pd_global(intx, ReservedCodeCacheSize, 32*M ); twisti@2047: define_pd_global(bool, ProfileInterpreter, false); twisti@2047: define_pd_global(intx, CodeCacheExpansionSize, 32*K ); twisti@2047: define_pd_global(uintx, CodeCacheMinBlockLength, 1 ); anoll@5352: define_pd_global(uintx, CodeCacheMinimumUseSpace, 200*K); anoll@5352: anoll@5352: define_pd_global(uintx, MetaspaceSize, 12*M ); twisti@2047: define_pd_global(bool, NeverActAsServerClassMachine, true ); twisti@2047: define_pd_global(uint64_t, MaxRAM, 1ULL*G); twisti@2047: define_pd_global(bool, CICompileOSR, true ); stefank@2314: stefank@2314: #endif // CPU_ZERO_VM_SHARK_GLOBALS_ZERO_HPP