Path: blob/aarch64-shenandoah-jdk8u272-b10/hotspot/src/cpu/x86/vm/c1_globals_x86.hpp
32285 views
/*1* Copyright (c) 2000, 2013, 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_VM_C1_GLOBALS_X86_HPP25#define CPU_X86_VM_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 TIERED34define_pd_global(bool, BackgroundCompilation, true );35define_pd_global(bool, UseTLAB, true );36define_pd_global(bool, ResizeTLAB, true );37define_pd_global(bool, InlineIntrinsics, true );38define_pd_global(bool, PreferInterpreterNativeStubs, false);39define_pd_global(bool, ProfileTraps, false);40define_pd_global(bool, UseOnStackReplacement, true );41define_pd_global(bool, TieredCompilation, false);42define_pd_global(intx, CompileThreshold, 1500 );43define_pd_global(intx, BackEdgeThreshold, 100000);4445define_pd_global(intx, OnStackReplacePercentage, 933 );46define_pd_global(intx, FreqInlineSize, 325 );47define_pd_global(intx, NewSizeThreadIncrease, 4*K );48define_pd_global(intx, InitialCodeCacheSize, 160*K);49define_pd_global(intx, ReservedCodeCacheSize, 32*M );50define_pd_global(bool, ProfileInterpreter, false);51define_pd_global(intx, CodeCacheExpansionSize, 32*K );52define_pd_global(uintx, CodeCacheMinBlockLength, 1);53define_pd_global(uintx, CodeCacheMinimumUseSpace, 400*K);54define_pd_global(uintx, MetaspaceSize, 12*M );55define_pd_global(bool, NeverActAsServerClassMachine, true );56define_pd_global(uint64_t,MaxRAM, 1ULL*G);57define_pd_global(bool, CICompileOSR, true );58#endif // !TIERED59define_pd_global(bool, UseTypeProfile, false);60define_pd_global(bool, RoundFPResults, true );6162define_pd_global(bool, LIRFillDelaySlots, false);63define_pd_global(bool, OptimizeSinglePrecision, true );64define_pd_global(bool, CSEArrayLength, false);65define_pd_global(bool, TwoOperandLIRForm, true );6667define_pd_global(intx, SafepointPollOffset, 256 );6869#endif // CPU_X86_VM_C1_GLOBALS_X86_HPP707172