c1_globals_x86.hpp revision 8032:e6d2d68ed87f
1100894Srwatson/* 2100894Srwatson * Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved. 3100894Srwatson * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4100894Srwatson * 5100894Srwatson * This code is free software; you can redistribute it and/or modify it 6100894Srwatson * under the terms of the GNU General Public License version 2 only, as 7100894Srwatson * published by the Free Software Foundation. 8100894Srwatson * 9100894Srwatson * This code is distributed in the hope that it will be useful, but WITHOUT 10100894Srwatson * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11100894Srwatson * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 12100894Srwatson * version 2 for more details (a copy is included in the LICENSE file that 13100894Srwatson * accompanied this code). 14100894Srwatson * 15100894Srwatson * You should have received a copy of the GNU General Public License version 16100894Srwatson * 2 along with this work; if not, write to the Free Software Foundation, 17100894Srwatson * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18100894Srwatson * 19100894Srwatson * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20100894Srwatson * or visit www.oracle.com if you need additional information or have any 21100894Srwatson * questions. 22100894Srwatson * 23100894Srwatson */ 24100894Srwatson 25100894Srwatson#ifndef CPU_X86_VM_C1_GLOBALS_X86_HPP 26100894Srwatson#define CPU_X86_VM_C1_GLOBALS_X86_HPP 27100894Srwatson 28100894Srwatson#include "utilities/globalDefinitions.hpp" 29100894Srwatson#include "utilities/macros.hpp" 30100894Srwatson 31100894Srwatson// Sets the default values for platform dependent flags used by the client compiler. 32100894Srwatson// (see c1_globals.hpp) 33100894Srwatson 34100894Srwatson#ifndef TIERED 35100894Srwatsondefine_pd_global(bool, BackgroundCompilation, true ); 36100894Srwatsondefine_pd_global(bool, UseTLAB, true ); 37100894Srwatsondefine_pd_global(bool, ResizeTLAB, true ); 38100894Srwatsondefine_pd_global(bool, InlineIntrinsics, true ); 39100894Srwatsondefine_pd_global(bool, PreferInterpreterNativeStubs, false); 40100894Srwatsondefine_pd_global(bool, ProfileTraps, false); 41100894Srwatsondefine_pd_global(bool, UseOnStackReplacement, true ); 42100894Srwatsondefine_pd_global(bool, TieredCompilation, false); 43100894Srwatsondefine_pd_global(intx, CompileThreshold, 1500 ); 44100894Srwatson 45100894Srwatsondefine_pd_global(intx, OnStackReplacePercentage, 933 ); 46100894Srwatsondefine_pd_global(intx, FreqInlineSize, 325 ); 47100894Srwatsondefine_pd_global(size_t, NewSizeThreadIncrease, 4*K ); 48100894Srwatsondefine_pd_global(intx, InitialCodeCacheSize, 160*K); 49104300Sphkdefine_pd_global(intx, ReservedCodeCacheSize, 32*M ); 50101173Srwatsondefine_pd_global(intx, NonProfiledCodeHeapSize, 13*M ); 51100894Srwatsondefine_pd_global(intx, ProfiledCodeHeapSize, 14*M ); 52100979Srwatsondefine_pd_global(intx, NonNMethodCodeHeapSize, 5*M ); 53100979Srwatsondefine_pd_global(bool, ProfileInterpreter, false); 54100979Srwatsondefine_pd_global(intx, CodeCacheExpansionSize, 32*K ); 55102949Sbdedefine_pd_global(uintx, CodeCacheMinBlockLength, 1 ); 56100979Srwatsondefine_pd_global(uintx, CodeCacheMinimumUseSpace, 400*K); 57100979Srwatsondefine_pd_global(size_t, MetaspaceSize, 12*M ); 58101712Srwatsondefine_pd_global(bool, NeverActAsServerClassMachine, true ); 59100979Srwatsondefine_pd_global(uint64_t, MaxRAM, 1ULL*G); 60100979Srwatsondefine_pd_global(bool, CICompileOSR, true ); 61100894Srwatson#endif // !TIERED 62100894Srwatsondefine_pd_global(bool, UseTypeProfile, false); 63100979Srwatsondefine_pd_global(bool, RoundFPResults, true ); 64100979Srwatson 65100979Srwatsondefine_pd_global(bool, LIRFillDelaySlots, false); 66100979Srwatsondefine_pd_global(bool, OptimizeSinglePrecision, true ); 67100979Srwatsondefine_pd_global(bool, CSEArrayLength, false); 68100979Srwatsondefine_pd_global(bool, TwoOperandLIRForm, true ); 69100979Srwatson 70100979Srwatson#endif // CPU_X86_VM_C1_GLOBALS_X86_HPP 71100894Srwatson