0N/A/*
3619N/A * Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved.
0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
0N/A *
0N/A * This code is free software; you can redistribute it and/or modify it
0N/A * under the terms of the GNU General Public License version 2 only, as
0N/A * published by the Free Software Foundation.
0N/A *
0N/A * This code is distributed in the hope that it will be useful, but WITHOUT
0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
0N/A * version 2 for more details (a copy is included in the LICENSE file that
0N/A * accompanied this code).
0N/A *
0N/A * You should have received a copy of the GNU General Public License version
0N/A * 2 along with this work; if not, write to the Free Software Foundation,
0N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
0N/A *
1472N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
1472N/A * or visit www.oracle.com if you need additional information or have any
1472N/A * questions.
0N/A *
0N/A */
0N/A
1879N/A#ifndef SHARE_VM_OPTO_C2_GLOBALS_HPP
1879N/A#define SHARE_VM_OPTO_C2_GLOBALS_HPP
1879N/A
1879N/A#include "runtime/globals.hpp"
1879N/A#ifdef TARGET_ARCH_x86
1879N/A# include "c2_globals_x86.hpp"
1879N/A#endif
1879N/A#ifdef TARGET_ARCH_sparc
1879N/A# include "c2_globals_sparc.hpp"
1879N/A#endif
2073N/A#ifdef TARGET_ARCH_arm
2073N/A# include "c2_globals_arm.hpp"
2073N/A#endif
1879N/A#ifdef TARGET_OS_FAMILY_linux
1879N/A# include "c2_globals_linux.hpp"
1879N/A#endif
1879N/A#ifdef TARGET_OS_FAMILY_solaris
1879N/A# include "c2_globals_solaris.hpp"
1879N/A#endif
1879N/A#ifdef TARGET_OS_FAMILY_windows
1879N/A# include "c2_globals_windows.hpp"
1879N/A#endif
2796N/A#ifdef TARGET_OS_FAMILY_bsd
2796N/A# include "c2_globals_bsd.hpp"
2796N/A#endif
1879N/A
0N/A//
0N/A// Defines all globals flags used by the server compiler.
0N/A//
0N/A
1080N/A#define C2_FLAGS(develop, develop_pd, product, product_pd, diagnostic, experimental, notproduct) \
0N/A \
0N/A notproduct(intx, CompileZapFirst, 0, \
0N/A "If +ZapDeadCompiledLocals, " \
0N/A "skip this many before compiling in zap calls") \
0N/A \
0N/A notproduct(intx, CompileZapLast, -1, \
0N/A "If +ZapDeadCompiledLocals, " \
0N/A "compile this many after skipping (incl. skip count, -1 = all)") \
0N/A \
0N/A notproduct(intx, ZapDeadCompiledLocalsFirst, 0, \
0N/A "If +ZapDeadCompiledLocals, " \
0N/A "skip this many before really doing it") \
0N/A \
0N/A notproduct(intx, ZapDeadCompiledLocalsLast, -1, \
0N/A "If +ZapDeadCompiledLocals, " \
0N/A "do this many after skipping (incl. skip count, -1 = all)") \
0N/A \
0N/A develop(intx, OptoPrologueNops, 0, \
0N/A "Insert this many extra nop instructions " \
0N/A "in the prologue of every nmethod") \
0N/A \
0N/A product_pd(intx, InteriorEntryAlignment, \
0N/A "Code alignment for interior entry points " \
0N/A "in generated code (in bytes)") \
0N/A \
0N/A product(intx, MaxLoopPad, (OptoLoopAlignment-1), \
0N/A "Align a loop if padding size in bytes is less or equal to this value") \
0N/A \
3845N/A product(intx, MaxVectorSize, 32, \
3845N/A "Max vector size in bytes, " \
3845N/A "actual size could be less depending on elements type") \
3845N/A \
4014N/A product(bool, AlignVector, true, \
3845N/A "Perform vector store/load alignment in loop") \
3845N/A \
0N/A product(intx, NumberOfLoopInstrToAlign, 4, \
0N/A "Number of first instructions in a loop to align") \
0N/A \
0N/A notproduct(intx, IndexSetWatch, 0, \
0N/A "Trace all operations on this IndexSet (-1 means all, 0 none)") \
0N/A \
0N/A develop(intx, OptoNodeListSize, 4, \
0N/A "Starting allocation size of Node_List data structures") \
0N/A \
0N/A develop(intx, OptoBlockListSize, 8, \
0N/A "Starting allocation size of Block_List data structures") \
0N/A \
0N/A develop(intx, OptoPeepholeAt, -1, \
0N/A "Apply peephole optimizations to this peephole rule") \
0N/A \
0N/A notproduct(bool, PrintIdeal, false, \
0N/A "Print ideal graph before code generation") \
0N/A \
0N/A notproduct(bool, PrintOpto, false, \
0N/A "Print compiler2 attempts") \
0N/A \
0N/A notproduct(bool, PrintOptoInlining, false, \
0N/A "Print compiler2 inlining decisions") \
0N/A \
0N/A notproduct(bool, VerifyOpto, false, \
0N/A "Apply more time consuming verification during compilation") \
0N/A \
4123N/A notproduct(bool, VerifyIdealNodeCount, false, \
4123N/A "Verify that tracked dead ideal node count is accurate") \
4123N/A \
4123N/A notproduct(bool, PrintIdealNodeCount, false, \
4123N/A "Print liveness counts of ideal nodes") \
4123N/A \
0N/A notproduct(bool, VerifyOptoOopOffsets, false, \
0N/A "Check types of base addresses in field references") \
0N/A \
0N/A develop(bool, IdealizedNumerics, false, \
0N/A "Check performance difference allowing FP " \
0N/A "associativity and commutativity...") \
0N/A \
0N/A develop(bool, OptoBreakpoint, false, \
0N/A "insert breakpoint at method entry") \
0N/A \
0N/A notproduct(bool, OptoBreakpointOSR, false, \
0N/A "insert breakpoint at osr method entry") \
0N/A \
0N/A notproduct(intx, BreakAtNode, 0, \
0N/A "Break at construction of this Node (either _idx or _debug_idx)") \
0N/A \
0N/A notproduct(bool, OptoBreakpointC2R, false, \
0N/A "insert breakpoint at runtime stub entry") \
0N/A \
0N/A notproduct(bool, OptoNoExecute, false, \
0N/A "Attempt to parse and compile but do not execute generated code") \
0N/A \
0N/A notproduct(bool, PrintOptoStatistics, false, \
0N/A "Print New compiler statistics") \
0N/A \
0N/A notproduct(bool, PrintOptoAssembly, false, \
0N/A "Print New compiler assembly output") \
0N/A \
0N/A develop_pd(bool, OptoPeephole, \
0N/A "Apply peephole optimizations after register allocation") \
0N/A \
0N/A develop(bool, OptoRemoveUseless, true, \
0N/A "Remove useless nodes after parsing") \
0N/A \
0N/A notproduct(bool, PrintFrameConverterAssembly, false, \
0N/A "Print New compiler assembly output for frame converters") \
0N/A \
0N/A notproduct(bool, PrintParseStatistics, false, \
0N/A "Print nodes, transforms and new values made per bytecode parsed")\
0N/A \
0N/A notproduct(bool, PrintOptoPeephole, false, \
0N/A "Print New compiler peephole replacements") \
0N/A \
0N/A develop(bool, PrintCFGBlockFreq, false, \
0N/A "Print CFG block freqencies") \
0N/A \
0N/A develop(bool, TraceOptoParse, false, \
0N/A "Trace bytecode parse and control-flow merge") \
0N/A \
0N/A product_pd(intx, LoopUnrollLimit, \
0N/A "Unroll loop bodies with node count less than this") \
0N/A \
0N/A product(intx, LoopUnrollMin, 4, \
0N/A "Minimum number of unroll loop bodies before checking progress" \
0N/A "of rounds of unroll,optimize,..") \
0N/A \
0N/A develop(intx, UnrollLimitForProfileCheck, 1, \
0N/A "Don't use profile_trip_cnt() to restrict unrolling until " \
0N/A "unrolling would push the number of unrolled iterations above " \
0N/A "UnrollLimitForProfileCheck. A higher value allows more " \
0N/A "unrolling. Zero acts as a very large value." ) \
0N/A \
0N/A product(intx, MultiArrayExpandLimit, 6, \
0N/A "Maximum number of individual allocations in an inline-expanded " \
0N/A "multianewarray instruction") \
0N/A \
0N/A notproduct(bool, TraceProfileTripCount, false, \
0N/A "Trace profile loop trip count information") \
0N/A \
1172N/A product(bool, UseLoopPredicate, true, \
1172N/A "Generate a predicate to select fast/slow loop versions") \
1172N/A \
1172N/A develop(bool, TraceLoopPredicate, false, \
1172N/A "Trace generation of loop predicates") \
1172N/A \
2230N/A develop(bool, TraceLoopOpts, false, \
2230N/A "Trace executed loop optimizations") \
2230N/A \
2442N/A diagnostic(bool, LoopLimitCheck, true, \
2442N/A "Generate a loop limits check for overflow") \
2442N/A \
2442N/A develop(bool, TraceLoopLimitCheck, false, \
2442N/A "Trace generation of loop limits checks") \
2442N/A \
2442N/A diagnostic(bool, RangeLimitCheck, true, \
2442N/A "Additional overflow checks during range check elimination") \
2442N/A \
2442N/A develop(bool, TraceRangeLimitCheck, false, \
2442N/A "Trace additional overflow checks in RCE") \
2442N/A \
2442N/A diagnostic(bool, UnrollLimitCheck, true, \
2442N/A "Additional overflow checks during loop unroll") \
2442N/A \
2877N/A product(bool, OptimizeFill, true, \
1683N/A "convert fill/copy loops into intrinsic") \
1683N/A \
1683N/A develop(bool, TraceOptimizeFill, false, \
1683N/A "print detailed information about fill conversion") \
1683N/A \
0N/A develop(bool, OptoCoalesce, true, \
0N/A "Use Conservative Copy Coalescing in the Register Allocator") \
0N/A \
0N/A develop(bool, UseUniqueSubclasses, true, \
0N/A "Narrow an abstract reference to the unique concrete subclass") \
0N/A \
0N/A develop(bool, UseExactTypes, true, \
0N/A "Use exact types to eliminate array store checks and v-calls") \
0N/A \
0N/A product(intx, TrackedInitializationLimit, 50, \
0N/A "When initializing fields, track up to this many words") \
0N/A \
0N/A product(bool, ReduceFieldZeroing, true, \
0N/A "When initializing fields, try to avoid needless zeroing") \
0N/A \
0N/A product(bool, ReduceInitialCardMarks, true, \
0N/A "When initializing fields, try to avoid needless card marks") \
0N/A \
0N/A product(bool, ReduceBulkZeroing, true, \
0N/A "When bulk-initializing, try to avoid needless zeroing") \
0N/A \
1650N/A product(bool, UseFPUForSpilling, false, \
1650N/A "Spill integer registers to FPU instead of stack when possible") \
1650N/A \
0N/A develop_pd(intx, RegisterCostAreaRatio, \
0N/A "Spill selection in reg allocator: scale area by (X/64K) before " \
0N/A "adding cost") \
0N/A \
0N/A develop_pd(bool, UseCISCSpill, \
0N/A "Use ADLC supplied cisc instructions during allocation") \
0N/A \
0N/A notproduct(bool, VerifyGraphEdges , false, \
0N/A "Verify Bi-directional Edges") \
0N/A \
0N/A notproduct(bool, VerifyDUIterators, true, \
0N/A "Verify the safety of all iterations of Bi-directional Edges") \
0N/A \
0N/A notproduct(bool, VerifyHashTableKeys, true, \
0N/A "Verify the immutability of keys in the VN hash tables") \
0N/A \
550N/A notproduct(bool, VerifyRegisterAllocator , false, \
550N/A "Verify Register Allocator") \
550N/A \
0N/A develop_pd(intx, FLOATPRESSURE, \
0N/A "Number of float LRG's that constitute high register pressure") \
0N/A \
0N/A develop_pd(intx, INTPRESSURE, \
0N/A "Number of integer LRG's that constitute high register pressure") \
0N/A \
0N/A notproduct(bool, TraceOptoPipelining, false, \
0N/A "Trace pipelining information") \
0N/A \
0N/A notproduct(bool, TraceOptoOutput, false, \
0N/A "Trace pipelining information") \
0N/A \
0N/A product_pd(bool, OptoScheduling, \
0N/A "Instruction Scheduling after register allocation") \
0N/A \
0N/A product(bool, PartialPeelLoop, true, \
0N/A "Partial peel (rotate) loops") \
0N/A \
0N/A product(intx, PartialPeelNewPhiDelta, 0, \
0N/A "Additional phis that can be created by partial peeling") \
0N/A \
0N/A notproduct(bool, TracePartialPeeling, false, \
0N/A "Trace partial peeling (loop rotation) information") \
0N/A \
0N/A product(bool, PartialPeelAtUnsignedTests, true, \
0N/A "Partial peel at unsigned tests if no signed test exists") \
0N/A \
0N/A product(bool, ReassociateInvariants, true, \
0N/A "Enable reassociation of expressions with loop invariants.") \
0N/A \
0N/A product(bool, LoopUnswitching, true, \
0N/A "Enable loop unswitching (a form of invariant test hoisting)") \
0N/A \
0N/A notproduct(bool, TraceLoopUnswitching, false, \
0N/A "Trace loop unswitching") \
0N/A \
0N/A product(bool, UseSuperWord, true, \
0N/A "Transform scalar operations into superword operations") \
0N/A \
0N/A develop(bool, SuperWordRTDepCheck, false, \
0N/A "Enable runtime dependency checks.") \
0N/A \
3849N/A notproduct(bool, TraceSuperWord, false, \
0N/A "Trace superword transforms") \
0N/A \
3849N/A notproduct(bool, TraceNewVectors, false, \
3849N/A "Trace creation of Vector nodes") \
3849N/A \
0N/A product_pd(bool, OptoBundling, \
0N/A "Generate nops to fill i-cache lines") \
0N/A \
0N/A product_pd(intx, ConditionalMoveLimit, \
0N/A "Limit of ops to make speculative when using CMOVE") \
0N/A \
0N/A /* Set BranchOnRegister == false. See 4965987. */ \
0N/A product(bool, BranchOnRegister, false, \
0N/A "Use Sparc V9 branch-on-register opcodes") \
0N/A \
0N/A develop(bool, SparcV9RegsHiBitsZero, true, \
0N/A "Assume Sparc V9 I&L registers on V8+ systems are zero-extended") \
0N/A \
1915N/A product(bool, UseRDPCForConstantTableBase, false, \
1915N/A "Use Sparc RDPC instruction for the constant table base.") \
1915N/A \
0N/A develop(intx, PrintIdealGraphLevel, 0, \
0N/A "Print ideal graph to XML file / network interface. " \
0N/A "By default attempts to connect to the visualizer on a socket.") \
0N/A \
0N/A develop(intx, PrintIdealGraphPort, 4444, \
0N/A "Ideal graph printer to network port") \
0N/A \
434N/A notproduct(ccstr, PrintIdealGraphAddress, "127.0.0.1", \
0N/A "IP address to connect to visualizer") \
0N/A \
434N/A notproduct(ccstr, PrintIdealGraphFile, NULL, \
0N/A "File to dump ideal graph to. If set overrides the " \
0N/A "use of the network") \
0N/A \
0N/A product(bool, UseOldInlining, true, \
0N/A "Enable the 1.3 inlining strategy") \
0N/A \
0N/A product(bool, UseBimorphicInlining, true, \
0N/A "Profiling based inlining for two receivers") \
0N/A \
0N/A product(bool, UseOnlyInlinedBimorphic, true, \
0N/A "Don't use BimorphicInlining if can't inline a second method") \
0N/A \
0N/A product(bool, InsertMemBarAfterArraycopy, true, \
0N/A "Insert memory barrier after arraycopy call") \
0N/A \
1605N/A develop(bool, SubsumeLoads, true, \
1605N/A "Attempt to compile while subsuming loads into machine instructions.") \
1605N/A \
1605N/A develop(bool, StressRecompilation, false, \
1605N/A "Recompile each compiled method without subsuming loads or escape analysis.") \
1605N/A \
0N/A develop(intx, ImplicitNullCheckThreshold, 3, \
0N/A "Don't do implicit null checks if NPE's in a method exceeds limit") \
0N/A \
0N/A product(intx, LoopOptsCount, 43, \
0N/A "Set level of loop optimization for tier 1 compiles") \
0N/A \
0N/A /* controls for heat-based inlining */ \
0N/A \
0N/A develop(intx, NodeCountInliningCutoff, 18000, \
0N/A "If parser node generation exceeds limit stop inlining") \
0N/A \
0N/A develop(intx, NodeCountInliningStep, 1000, \
0N/A "Target size of warm calls inlined between optimization passes") \
0N/A \
0N/A develop(bool, InlineWarmCalls, false, \
0N/A "Use a heat-based priority queue to govern inlining") \
0N/A \
0N/A develop(intx, HotCallCountThreshold, 999999, \
0N/A "large numbers of calls (per method invocation) force hotness") \
0N/A \
0N/A develop(intx, HotCallProfitThreshold, 999999, \
0N/A "highly profitable inlining opportunities force hotness") \
0N/A \
0N/A develop(intx, HotCallTrivialWork, -1, \
0N/A "trivial execution time (no larger than this) forces hotness") \
0N/A \
0N/A develop(intx, HotCallTrivialSize, -1, \
0N/A "trivial methods (no larger than this) force calls to be hot") \
0N/A \
0N/A develop(intx, WarmCallMinCount, -1, \
0N/A "number of calls (per method invocation) to enable inlining") \
0N/A \
0N/A develop(intx, WarmCallMinProfit, -1, \
0N/A "number of calls (per method invocation) to enable inlining") \
0N/A \
0N/A develop(intx, WarmCallMaxWork, 999999, \
0N/A "execution time of the largest inlinable method") \
0N/A \
0N/A develop(intx, WarmCallMaxSize, 999999, \
0N/A "size of the largest inlinable method") \
0N/A \
0N/A product(intx, MaxNodeLimit, 65000, \
0N/A "Maximum number of nodes") \
0N/A \
0N/A product(intx, NodeLimitFudgeFactor, 1000, \
0N/A "Fudge Factor for certain optimizations") \
0N/A \
0N/A product(bool, UseJumpTables, true, \
0N/A "Use JumpTables instead of a binary search tree for switches") \
0N/A \
0N/A product(bool, UseDivMod, true, \
0N/A "Use combined DivMod instruction if available") \
0N/A \
0N/A product(intx, MinJumpTableSize, 18, \
0N/A "Minimum number of targets in a generated jump table") \
0N/A \
0N/A product(intx, MaxJumpTableSize, 65000, \
0N/A "Maximum number of targets in a generated jump table") \
0N/A \
0N/A product(intx, MaxJumpTableSparseness, 5, \
0N/A "Maximum sparseness for jumptables") \
0N/A \
0N/A product(bool, EliminateLocks, true, \
0N/A "Coarsen locks when possible") \
0N/A \
3057N/A product(bool, EliminateNestedLocks, true, \
3057N/A "Eliminate nested locks of the same object when possible") \
3057N/A \
0N/A notproduct(bool, PrintLockStatistics, false, \
0N/A "Print precise statistics on the dynamic lock usage") \
0N/A \
0N/A diagnostic(bool, PrintPreciseBiasedLockingStatistics, false, \
0N/A "Print per-lock-site statistics of biased locking in JVM") \
0N/A \
0N/A notproduct(bool, PrintEliminateLocks, false, \
0N/A "Print out when locks are eliminated") \
0N/A \
17N/A diagnostic(bool, EliminateAutoBox, false, \
17N/A "Private flag to control optimizations for autobox elimination") \
17N/A \
17N/A product(intx, AutoBoxCacheMax, 128, \
17N/A "Sets max value cached by the java.lang.Integer autobox cache") \
17N/A \
930N/A product(bool, DoEscapeAnalysis, true, \
0N/A "Perform escape analysis") \
0N/A \
4040N/A develop(bool, ExitEscapeAnalysisOnTimeout, true, \
4040N/A "Exit or throw assert in EA when it reaches time limit") \
4040N/A \
0N/A notproduct(bool, PrintEscapeAnalysis, false, \
0N/A "Print the results of escape analysis") \
0N/A \
0N/A product(bool, EliminateAllocations, true, \
0N/A "Use escape analysis to eliminate allocations") \
0N/A \
65N/A notproduct(bool, PrintEliminateAllocations, false, \
65N/A "Print out when allocations are eliminated") \
65N/A \
65N/A product(intx, EliminateAllocationArraySizeLimit, 64, \
65N/A "Array size (number of elements) limit for scalar replacement") \
65N/A \
2956N/A product(bool, OptimizePtrCompare, true, \
2956N/A "Use escape analysis to optimize pointers compare") \
2956N/A \
2956N/A notproduct(bool, PrintOptimizePtrCompare, false, \
2956N/A "Print information about optimized pointers compare") \
2956N/A \
3619N/A notproduct(bool, VerifyConnectionGraph , true, \
3619N/A "Verify Connection Graph construction in Escape Analysis") \
3619N/A \
673N/A product(bool, UseOptoBiasInlining, true, \
420N/A "Generate biased locking code in C2 ideal graph") \
420N/A \
2877N/A product(bool, OptimizeStringConcat, true, \
1080N/A "Optimize the construction of Strings by StringBuilder") \
1080N/A \
1080N/A notproduct(bool, PrintOptimizeStringConcat, false, \
1080N/A "Print information about transformations performed on Strings") \
1080N/A \
253N/A product(intx, ValueSearchLimit, 1000, \
253N/A "Recursion limit in PhaseMacroExpand::value_from_mem_phi") \
253N/A \
0N/A product(intx, MaxLabelRootDepth, 1100, \
0N/A "Maximum times call Label_Root to prevent stack overflow") \
155N/A \
155N/A diagnostic(intx, DominatorSearchLimit, 1000, \
155N/A "Iterations limit in Node::dominates") \
418N/A \
418N/A product(bool, BlockLayoutByFrequency, true, \
418N/A "Use edge frequencies to drive block ordering") \
418N/A \
418N/A product(intx, BlockLayoutMinDiamondPercentage, 20, \
418N/A "Miniumum %% of a successor (predecessor) for which block layout "\
418N/A "a will allow a fork (join) in a single chain") \
418N/A \
673N/A product(bool, BlockLayoutRotateLoops, true, \
418N/A "Allow back branches to be fall throughs in the block layour") \
3983N/A \
3983N/A develop(bool, InlineReflectionGetCallerClass, true, \
3983N/A "inline sun.reflect.Reflection.getCallerClass(), known to be part "\
3983N/A "of base library DLL") \
3983N/A \
3983N/A develop(bool, InlineObjectCopy, true, \
3983N/A "inline Object.clone and Arrays.copyOf[Range] intrinsics") \
3983N/A \
3983N/A develop(bool, SpecialStringCompareTo, true, \
3983N/A "special version of string compareTo") \
3983N/A \
3983N/A develop(bool, SpecialStringIndexOf, true, \
3983N/A "special version of string indexOf") \
3983N/A \
3983N/A develop(bool, SpecialStringEquals, true, \
3983N/A "special version of string equals") \
3983N/A \
3983N/A develop(bool, SpecialArraysEquals, true, \
3983N/A "special version of Arrays.equals(char[],char[])") \
3983N/A \
3983N/A develop(bool, BailoutToInterpreterForThrows, false, \
3983N/A "Compiled methods which throws/catches exceptions will be " \
3983N/A "deopt and intp.") \
3983N/A \
3983N/A develop(bool, ConvertCmpD2CmpF, true, \
3983N/A "Convert cmpD to cmpF when one input is constant in float range") \
3983N/A \
3983N/A develop(bool, ConvertFloat2IntClipping, true, \
3983N/A "Convert float2int clipping idiom to integer clipping") \
3983N/A \
3983N/A develop(bool, Use24BitFPMode, true, \
3983N/A "Set 24-bit FPU mode on a per-compile basis ") \
3983N/A \
3983N/A develop(bool, Use24BitFP, true, \
3983N/A "use FP instructions that produce 24-bit precise results") \
3983N/A \
3983N/A develop(bool, MonomorphicArrayCheck, true, \
3983N/A "Uncommon-trap array store checks that require full type check") \
3983N/A \
3983N/A notproduct(bool, TracePhaseCCP, false, \
3983N/A "Print progress during Conditional Constant Propagation") \
3983N/A \
3983N/A develop(bool, PrintDominators, false, \
3983N/A "Print out dominator trees for GVN") \
3983N/A \
3983N/A notproduct(bool, TraceSpilling, false, \
3983N/A "Trace spilling") \
3983N/A \
4013N/A diagnostic(bool, TraceTypeProfile, false, \
3983N/A "Trace type profile") \
3983N/A \
3983N/A develop(bool, PoisonOSREntry, true, \
3983N/A "Detect abnormal calls to OSR code") \
3983N/A \
3983N/A product(bool, UseCondCardMark, false, \
3983N/A "Check for already marked card before updating card table") \
3983N/A \
3983N/A develop(bool, SoftMatchFailure, trueInProduct, \
3983N/A "If the DFA fails to match a node, print a message and bail out") \
3983N/A \
3983N/A develop(bool, InlineAccessors, true, \
3983N/A "inline accessor methods (get/set)") \
3983N/A \
3983N/A product(intx, TypeProfileMajorReceiverPercent, 90, \
3983N/A "% of major receiver type to all profiled receivers") \
3983N/A \
3983N/A notproduct(bool, TimeCompiler2, false, \
3983N/A "detailed time the compiler (requires +TimeCompiler)") \
3983N/A \
3983N/A diagnostic(bool, PrintIntrinsics, false, \
3983N/A "prints attempted and successful inlining of intrinsics") \
3983N/A \
3983N/A diagnostic(ccstrlist, DisableIntrinsic, "", \
3983N/A "do not expand intrinsics whose (internal) names appear here") \
3983N/A \
3983N/A develop(bool, StressReflectiveCode, false, \
3983N/A "Use inexact types at allocations, etc., to test reflection") \
3983N/A \
3983N/A diagnostic(bool, DebugInlinedCalls, true, \
3983N/A "If false, restricts profiled locations to the root method only") \
3983N/A \
3983N/A notproduct(bool, VerifyLoopOptimizations, false, \
3983N/A "verify major loop optimizations") \
3983N/A \
3983N/A diagnostic(bool, ProfileDynamicTypes, true, \
3983N/A "do extra type profiling and use it more aggressively") \
3983N/A \
3983N/A develop(bool, TraceIterativeGVN, false, \
3983N/A "Print progress during Iterative Global Value Numbering") \
3983N/A \
3983N/A develop(bool, VerifyIterativeGVN, false, \
3983N/A "Verify Def-Use modifications during sparse Iterative Global " \
3983N/A "Value Numbering") \
3983N/A \
3983N/A notproduct(bool, TraceCISCSpill, false, \
3983N/A "Trace allocators use of cisc spillable instructions") \
3983N/A \
3983N/A product(bool, SplitIfBlocks, true, \
3983N/A "Clone compares and control flow through merge points to fold " \
3983N/A "some branches") \
3983N/A \
3983N/A develop(intx, FreqCountInvocations, 1, \
3983N/A "Scaling factor for branch frequencies (deprecated)") \
3983N/A \
3983N/A product(intx, AliasLevel, 3, \
3983N/A "0 for no aliasing, 1 for oop/field/static/array split, " \
3983N/A "2 for class split, 3 for unique instances") \
3983N/A \
3983N/A develop(bool, VerifyAliases, false, \
3983N/A "perform extra checks on the results of alias analysis") \
4132N/A \
4132N/A product(bool, IncrementalInline, true, \
4132N/A "do post parse inlining") \
4132N/A \
4132N/A develop(bool, AlwaysIncrementalInline, false, \
4132N/A "do all inlining incrementally") \
4132N/A \
4132N/A product(intx, LiveNodeCountInliningCutoff, 20000, \
4132N/A "max number of live nodes in a method") \
4321N/A \
4321N/A diagnostic(bool, OptimizeExpensiveOps, true, \
4321N/A "Find best control for expensive operations") \
4132N/A
0N/A
1080N/AC2_FLAGS(DECLARE_DEVELOPER_FLAG, DECLARE_PD_DEVELOPER_FLAG, DECLARE_PRODUCT_FLAG, DECLARE_PD_PRODUCT_FLAG, DECLARE_DIAGNOSTIC_FLAG, DECLARE_EXPERIMENTAL_FLAG, DECLARE_NOTPRODUCT_FLAG)
1879N/A
1879N/A#endif // SHARE_VM_OPTO_C2_GLOBALS_HPP