Path: blob/aarch64-shenandoah-jdk8u272-b10/hotspot/src/cpu/zero/vm/globals_zero.hpp
32285 views
/*1* Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved.2* Copyright 2007, 2008, 2009, 2010, 2011 Red Hat, Inc.3* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.4*5* This code is free software; you can redistribute it and/or modify it6* under the terms of the GNU General Public License version 2 only, as7* published by the Free Software Foundation.8*9* This code is distributed in the hope that it will be useful, but WITHOUT10* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or11* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License12* version 2 for more details (a copy is included in the LICENSE file that13* accompanied this code).14*15* You should have received a copy of the GNU General Public License version16* 2 along with this work; if not, write to the Free Software Foundation,17* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.18*19* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA20* or visit www.oracle.com if you need additional information or have any21* questions.22*23*/2425#ifndef CPU_ZERO_VM_GLOBALS_ZERO_HPP26#define CPU_ZERO_VM_GLOBALS_ZERO_HPP2728#include "utilities/globalDefinitions.hpp"29#include "utilities/macros.hpp"3031// Set the default values for platform dependent flags used by the32// runtime system. See globals.hpp for details of what they do.3334define_pd_global(bool, ConvertSleepToYield, true);35define_pd_global(bool, CountInterpCalls, true);36define_pd_global(bool, NeedsDeoptSuspend, false);3738define_pd_global(bool, ImplicitNullChecks, true);39define_pd_global(bool, TrapBasedNullChecks, false);40define_pd_global(bool, UncommonNullCast, true);4142define_pd_global(intx, CodeEntryAlignment, 32);43define_pd_global(intx, OptoLoopAlignment, 16);44define_pd_global(intx, InlineFrequencyCount, 100);45define_pd_global(intx, InlineSmallCode, 1000 );46define_pd_global(intx, PreInflateSpin, 10);4748define_pd_global(intx, StackYellowPages, 2);49define_pd_global(intx, StackRedPages, 1);50define_pd_global(intx, StackShadowPages, 5 LP64_ONLY(+1) DEBUG_ONLY(+3));5152define_pd_global(bool, RewriteBytecodes, true);53define_pd_global(bool, RewriteFrequentPairs, true);5455define_pd_global(bool, UseMembar, true);5657// GC Ergo Flags58define_pd_global(uintx, CMSYoungGenPerWorker, 16*M); // default max size of CMS young gen, per GC worker thread5960define_pd_global(uintx, TypeProfileLevel, 0);6162define_pd_global(bool, PreserveFramePointer, false);6364#define ARCH_FLAGS(develop, product, diagnostic, experimental, notproduct)6566#endif // CPU_ZERO_VM_GLOBALS_ZERO_HPP676869