Path: blob/master/src/hotspot/cpu/arm/c1_globals_arm.hpp
40930 views
/*1* Copyright (c) 2008, 2019, 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_ARM_C1_GLOBALS_ARM_HPP25#define CPU_ARM_C1_GLOBALS_ARM_HPP2627#include "utilities/globalDefinitions.hpp"28#include "utilities/macros.hpp"2930//31// Sets the default values for platform dependent flags used by the client compiler.32// (see c1_globals.hpp)33//3435#ifndef COMPILER2 // avoid duplicated definitions, favoring C2 version36define_pd_global(bool, BackgroundCompilation, true );37define_pd_global(bool, InlineIntrinsics, false); // TODO: ARM38define_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 );4344define_pd_global(intx, OnStackReplacePercentage, 933 );45define_pd_global(size_t, NewSizeThreadIncrease, 4*K );46define_pd_global(size_t, InitialCodeCacheSize, 160*K);47define_pd_global(size_t, ReservedCodeCacheSize, 32*M );48define_pd_global(size_t, NonProfiledCodeHeapSize, 13*M );49define_pd_global(size_t, ProfiledCodeHeapSize, 14*M );50define_pd_global(size_t, NonNMethodCodeHeapSize, 5*M );51define_pd_global(bool, ProfileInterpreter, false);52define_pd_global(size_t, CodeCacheExpansionSize, 32*K );53define_pd_global(uintx, CodeCacheMinBlockLength, 1);54define_pd_global(size_t, CodeCacheMinimumUseSpace, 400*K);55define_pd_global(bool, NeverActAsServerClassMachine, true);56define_pd_global(uint64_t, MaxRAM, 1ULL*G);57define_pd_global(bool, CICompileOSR, true );58#endif // COMPILER259define_pd_global(bool, UseTypeProfile, false);6061define_pd_global(bool, OptimizeSinglePrecision, true);62define_pd_global(bool, CSEArrayLength, true);63define_pd_global(bool, TwoOperandLIRForm, false);6465#endif // CPU_ARM_C1_GLOBALS_ARM_HPP666768