Path: blob/master/src/hotspot/cpu/x86/c1_globals_x86.hpp
41144 views
/*1* Copyright (c) 2000, 2021, Oracle and/or its affiliates. All rights reserved.2* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.3*4* This code is free software; you can redistribute it and/or modify it5* under the terms of the GNU General Public License version 2 only, as6* published by the Free Software Foundation.7*8* This code is distributed in the hope that it will be useful, but WITHOUT9* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or10* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License11* version 2 for more details (a copy is included in the LICENSE file that12* accompanied this code).13*14* You should have received a copy of the GNU General Public License version15* 2 along with this work; if not, write to the Free Software Foundation,16* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.17*18* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA19* or visit www.oracle.com if you need additional information or have any20* questions.21*22*/2324#ifndef CPU_X86_C1_GLOBALS_X86_HPP25#define CPU_X86_C1_GLOBALS_X86_HPP2627#include "utilities/globalDefinitions.hpp"28#include "utilities/macros.hpp"2930// Sets the default values for platform dependent flags used by the client compiler.31// (see c1_globals.hpp)3233#ifndef COMPILER234define_pd_global(bool, BackgroundCompilation, true );35define_pd_global(bool, InlineIntrinsics, true );36define_pd_global(bool, PreferInterpreterNativeStubs, false);37define_pd_global(bool, ProfileTraps, false);38define_pd_global(bool, UseOnStackReplacement, true );39define_pd_global(bool, TieredCompilation, false);40define_pd_global(intx, CompileThreshold, 1500 );4142define_pd_global(intx, OnStackReplacePercentage, 933 );43define_pd_global(size_t, NewSizeThreadIncrease, 4*K );44define_pd_global(uintx, InitialCodeCacheSize, 160*K);45define_pd_global(uintx, ReservedCodeCacheSize, 32*M );46define_pd_global(uintx, NonProfiledCodeHeapSize, 13*M );47define_pd_global(uintx, ProfiledCodeHeapSize, 14*M );48define_pd_global(uintx, NonNMethodCodeHeapSize, 5*M );49define_pd_global(bool, ProfileInterpreter, false);50define_pd_global(uintx, CodeCacheExpansionSize, 32*K );51define_pd_global(uintx, CodeCacheMinBlockLength, 1 );52define_pd_global(uintx, CodeCacheMinimumUseSpace, 400*K);53define_pd_global(bool, NeverActAsServerClassMachine, true );54define_pd_global(uint64_t, MaxRAM, 1ULL*G);55define_pd_global(bool, CICompileOSR, true );56#endif // !COMPILER257define_pd_global(bool, UseTypeProfile, false);5859define_pd_global(bool, OptimizeSinglePrecision, true );60define_pd_global(bool, CSEArrayLength, false);61define_pd_global(bool, TwoOperandLIRForm, true );6263#endif // CPU_X86_C1_GLOBALS_X86_HPP646566