Path: blob/master/src/hotspot/cpu/arm/globals_arm.hpp
40930 views
/*1* Copyright (c) 2008, 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_ARM_GLOBALS_ARM_HPP25#define CPU_ARM_GLOBALS_ARM_HPP2627//28// Sets the default values for platform dependent flags used by the runtime system.29// (see globals.hpp)30//3132define_pd_global(bool, ImplicitNullChecks, true); // Generate code for implicit null checks33define_pd_global(bool, UncommonNullCast, true); // Uncommon-trap NULLs past to check cast34define_pd_global(bool, TrapBasedNullChecks, false); // Not needed3536define_pd_global(uintx, CodeCacheSegmentSize, 64 COMPILER1_AND_COMPILER2_PRESENT(+64)); // Tiered compilation has large code-entry alignment.37define_pd_global(intx, CodeEntryAlignment, 16);38define_pd_global(intx, OptoLoopAlignment, 16);3940#define DEFAULT_STACK_YELLOW_PAGES (2)41#define DEFAULT_STACK_RED_PAGES (1)42#define DEFAULT_STACK_SHADOW_PAGES (5 DEBUG_ONLY(+1))43#define DEFAULT_STACK_RESERVED_PAGES (0)4445#define MIN_STACK_YELLOW_PAGES DEFAULT_STACK_YELLOW_PAGES46#define MIN_STACK_RED_PAGES DEFAULT_STACK_RED_PAGES47#define MIN_STACK_SHADOW_PAGES DEFAULT_STACK_SHADOW_PAGES48#define MIN_STACK_RESERVED_PAGES (0)4950define_pd_global(intx, StackYellowPages, DEFAULT_STACK_YELLOW_PAGES);51define_pd_global(intx, StackRedPages, DEFAULT_STACK_RED_PAGES);52define_pd_global(intx, StackShadowPages, DEFAULT_STACK_SHADOW_PAGES);53define_pd_global(intx, StackReservedPages, DEFAULT_STACK_RESERVED_PAGES);5455define_pd_global(intx, InlineFrequencyCount, 50);56#if defined(COMPILER1) || defined(COMPILER2)57define_pd_global(intx, InlineSmallCode, 1500);58#endif5960define_pd_global(bool, RewriteBytecodes, true);61define_pd_global(bool, RewriteFrequentPairs, true);6263define_pd_global(bool, PreserveFramePointer, false);6465define_pd_global(uintx, TypeProfileLevel, 0);6667// No performance work done here yet.68define_pd_global(bool, CompactStrings, false);6970define_pd_global(intx, InitArrayShortSize, 8*BytesPerLong);7172#define ARCH_FLAGS(develop, \73product, \74notproduct, \75range, \76constraint)7778// end of ARCH_FLAGS7980#endif // CPU_ARM_GLOBALS_ARM_HPP818283