2007-12-01 00:00:00 +00:00
|
|
|
/*
|
2020-01-07 18:56:18 -08:00
|
|
|
* Copyright (c) 2000, 2020, Oracle and/or its affiliates. All rights reserved.
|
2007-12-01 00:00:00 +00:00
|
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
|
|
*
|
|
|
|
* This code is free software; you can redistribute it and/or modify it
|
|
|
|
* under the terms of the GNU General Public License version 2 only, as
|
|
|
|
* published by the Free Software Foundation.
|
|
|
|
*
|
|
|
|
* This code is distributed in the hope that it will be useful, but WITHOUT
|
|
|
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
|
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
|
|
* version 2 for more details (a copy is included in the LICENSE file that
|
|
|
|
* accompanied this code).
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License version
|
|
|
|
* 2 along with this work; if not, write to the Free Software Foundation,
|
|
|
|
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*
|
2010-05-27 19:08:38 -07:00
|
|
|
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
|
|
|
* or visit www.oracle.com if you need additional information or have any
|
|
|
|
* questions.
|
2007-12-01 00:00:00 +00:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2019-01-10 15:13:51 -05:00
|
|
|
#ifndef SHARE_OPTO_C2_GLOBALS_HPP
|
|
|
|
#define SHARE_OPTO_C2_GLOBALS_HPP
|
2010-11-23 13:22:55 -08:00
|
|
|
|
2019-05-22 13:05:37 +02:00
|
|
|
#include "runtime/globals_shared.hpp"
|
2016-07-13 12:23:05 +02:00
|
|
|
#include "utilities/macros.hpp"
|
|
|
|
|
|
|
|
#include CPU_HEADER(c2_globals)
|
|
|
|
#include OS_HEADER(c2_globals)
|
2010-11-23 13:22:55 -08:00
|
|
|
|
2007-12-01 00:00:00 +00:00
|
|
|
//
|
|
|
|
// Defines all globals flags used by the server compiler.
|
|
|
|
//
|
|
|
|
|
2020-09-11 04:05:18 +00:00
|
|
|
#define C2_FLAGS(develop, \
|
|
|
|
develop_pd, \
|
|
|
|
product, \
|
|
|
|
product_pd, \
|
|
|
|
notproduct, \
|
|
|
|
range, \
|
|
|
|
constraint) \
|
|
|
|
\
|
|
|
|
product(bool, StressLCM, false, DIAGNOSTIC, \
|
2013-03-05 04:24:50 -08:00
|
|
|
"Randomize instruction scheduling in LCM") \
|
|
|
|
\
|
2020-09-11 04:05:18 +00:00
|
|
|
product(bool, StressGCM, false, DIAGNOSTIC, \
|
2013-03-05 04:24:50 -08:00
|
|
|
"Randomize instruction scheduling in GCM") \
|
|
|
|
\
|
2020-09-28 06:44:58 +00:00
|
|
|
product(bool, StressIGVN, false, DIAGNOSTIC, \
|
|
|
|
"Randomize worklist traversal in IGVN") \
|
|
|
|
\
|
|
|
|
product(uint, StressSeed, 0, DIAGNOSTIC, \
|
|
|
|
"Seed for IGVN stress testing (if unset, a random one is " \
|
|
|
|
"generated") \
|
|
|
|
range(0, max_juint) \
|
|
|
|
\
|
2018-06-06 23:36:08 +03:00
|
|
|
develop(bool, StressMethodHandleLinkerInlining, false, \
|
|
|
|
"Stress inlining through method handle linkers") \
|
|
|
|
\
|
2007-12-01 00:00:00 +00:00
|
|
|
develop(intx, OptoPrologueNops, 0, \
|
|
|
|
"Insert this many extra nop instructions " \
|
|
|
|
"in the prologue of every nmethod") \
|
2015-10-09 14:21:26 +02:00
|
|
|
range(0, 128) \
|
2007-12-01 00:00:00 +00:00
|
|
|
\
|
|
|
|
product_pd(intx, InteriorEntryAlignment, \
|
|
|
|
"Code alignment for interior entry points " \
|
|
|
|
"in generated code (in bytes)") \
|
2015-10-09 14:21:26 +02:00
|
|
|
constraint(InteriorEntryAlignmentConstraintFunc, AfterErgo) \
|
2007-12-01 00:00:00 +00:00
|
|
|
\
|
|
|
|
product(intx, MaxLoopPad, (OptoLoopAlignment-1), \
|
2015-06-18 14:39:38 -05:00
|
|
|
"Align a loop if padding size in bytes is less or equal to this " \
|
|
|
|
"value") \
|
2015-10-09 14:21:26 +02:00
|
|
|
range(0, max_jint) \
|
2007-12-01 00:00:00 +00:00
|
|
|
\
|
2015-05-08 11:49:20 -07:00
|
|
|
product(intx, MaxVectorSize, 64, \
|
2012-06-15 01:25:19 -07:00
|
|
|
"Max vector size in bytes, " \
|
|
|
|
"actual size could be less depending on elements type") \
|
2015-10-09 14:21:26 +02:00
|
|
|
range(0, max_jint) \
|
2012-06-15 01:25:19 -07:00
|
|
|
\
|
2012-09-19 16:50:26 -07:00
|
|
|
product(bool, AlignVector, true, \
|
2012-06-15 01:25:19 -07:00
|
|
|
"Perform vector store/load alignment in loop") \
|
|
|
|
\
|
2007-12-01 00:00:00 +00:00
|
|
|
product(intx, NumberOfLoopInstrToAlign, 4, \
|
|
|
|
"Number of first instructions in a loop to align") \
|
2015-10-09 14:21:26 +02:00
|
|
|
range(0, max_jint) \
|
2007-12-01 00:00:00 +00:00
|
|
|
\
|
|
|
|
notproduct(intx, IndexSetWatch, 0, \
|
|
|
|
"Trace all operations on this IndexSet (-1 means all, 0 none)") \
|
2015-06-18 14:39:38 -05:00
|
|
|
range(-1, 0) \
|
2007-12-01 00:00:00 +00:00
|
|
|
\
|
|
|
|
develop(intx, OptoNodeListSize, 4, \
|
|
|
|
"Starting allocation size of Node_List data structures") \
|
2015-10-09 14:21:26 +02:00
|
|
|
range(0, max_jint) \
|
2007-12-01 00:00:00 +00:00
|
|
|
\
|
|
|
|
develop(intx, OptoBlockListSize, 8, \
|
|
|
|
"Starting allocation size of Block_List data structures") \
|
2015-10-09 14:21:26 +02:00
|
|
|
range(0, max_jint) \
|
2007-12-01 00:00:00 +00:00
|
|
|
\
|
|
|
|
develop(intx, OptoPeepholeAt, -1, \
|
|
|
|
"Apply peephole optimizations to this peephole rule") \
|
|
|
|
\
|
|
|
|
notproduct(bool, PrintIdeal, false, \
|
|
|
|
"Print ideal graph before code generation") \
|
|
|
|
\
|
|
|
|
notproduct(bool, PrintOpto, false, \
|
|
|
|
"Print compiler2 attempts") \
|
|
|
|
\
|
|
|
|
notproduct(bool, PrintOptoInlining, false, \
|
|
|
|
"Print compiler2 inlining decisions") \
|
|
|
|
\
|
2012-11-27 17:24:15 -08:00
|
|
|
notproduct(bool, VerifyIdealNodeCount, false, \
|
|
|
|
"Verify that tracked dead ideal node count is accurate") \
|
|
|
|
\
|
|
|
|
notproduct(bool, PrintIdealNodeCount, false, \
|
|
|
|
"Print liveness counts of ideal nodes") \
|
|
|
|
\
|
2007-12-01 00:00:00 +00:00
|
|
|
develop(bool, IdealizedNumerics, false, \
|
|
|
|
"Check performance difference allowing FP " \
|
|
|
|
"associativity and commutativity...") \
|
|
|
|
\
|
2020-09-11 04:05:18 +00:00
|
|
|
product_pd(bool, IdealizeClearArrayNode, DIAGNOSTIC, \
|
2016-09-22 18:29:15 +02:00
|
|
|
"Replace ClearArrayNode by subgraph of basic operations.") \
|
|
|
|
\
|
2007-12-01 00:00:00 +00:00
|
|
|
develop(bool, OptoBreakpoint, false, \
|
|
|
|
"insert breakpoint at method entry") \
|
|
|
|
\
|
|
|
|
notproduct(bool, OptoBreakpointOSR, false, \
|
|
|
|
"insert breakpoint at osr method entry") \
|
|
|
|
\
|
|
|
|
notproduct(intx, BreakAtNode, 0, \
|
|
|
|
"Break at construction of this Node (either _idx or _debug_idx)") \
|
|
|
|
\
|
|
|
|
notproduct(bool, OptoBreakpointC2R, false, \
|
|
|
|
"insert breakpoint at runtime stub entry") \
|
|
|
|
\
|
|
|
|
notproduct(bool, OptoNoExecute, false, \
|
|
|
|
"Attempt to parse and compile but do not execute generated code") \
|
|
|
|
\
|
|
|
|
notproduct(bool, PrintOptoStatistics, false, \
|
|
|
|
"Print New compiler statistics") \
|
|
|
|
\
|
2020-09-11 04:05:18 +00:00
|
|
|
product(bool, PrintOptoAssembly, false, DIAGNOSTIC, \
|
2007-12-01 00:00:00 +00:00
|
|
|
"Print New compiler assembly output") \
|
|
|
|
\
|
|
|
|
develop_pd(bool, OptoPeephole, \
|
|
|
|
"Apply peephole optimizations after register allocation") \
|
|
|
|
\
|
|
|
|
develop(bool, OptoRemoveUseless, true, \
|
|
|
|
"Remove useless nodes after parsing") \
|
|
|
|
\
|
|
|
|
notproduct(bool, PrintFrameConverterAssembly, false, \
|
|
|
|
"Print New compiler assembly output for frame converters") \
|
|
|
|
\
|
|
|
|
notproduct(bool, PrintParseStatistics, false, \
|
|
|
|
"Print nodes, transforms and new values made per bytecode parsed")\
|
|
|
|
\
|
|
|
|
notproduct(bool, PrintOptoPeephole, false, \
|
|
|
|
"Print New compiler peephole replacements") \
|
|
|
|
\
|
|
|
|
develop(bool, PrintCFGBlockFreq, false, \
|
|
|
|
"Print CFG block freqencies") \
|
|
|
|
\
|
|
|
|
develop(bool, TraceOptoParse, false, \
|
|
|
|
"Trace bytecode parse and control-flow merge") \
|
|
|
|
\
|
|
|
|
product_pd(intx, LoopUnrollLimit, \
|
|
|
|
"Unroll loop bodies with node count less than this") \
|
2015-10-09 14:21:26 +02:00
|
|
|
range(0, max_jint / 4) \
|
2007-12-01 00:00:00 +00:00
|
|
|
\
|
2016-02-12 16:12:15 -08:00
|
|
|
product_pd(intx, LoopPercentProfileLimit, \
|
|
|
|
"Unroll loop bodies with % node count of profile limit") \
|
|
|
|
range(10, 100) \
|
|
|
|
\
|
2013-08-14 10:21:26 -07:00
|
|
|
product(intx, LoopMaxUnroll, 16, \
|
|
|
|
"Maximum number of unrolls for main loop") \
|
2015-10-09 14:21:26 +02:00
|
|
|
range(0, max_jint) \
|
2013-08-14 10:21:26 -07:00
|
|
|
\
|
2015-11-09 11:26:41 -08:00
|
|
|
product_pd(bool, SuperWordLoopUnrollAnalysis, \
|
|
|
|
"Map number of unrolls for main loop via " \
|
|
|
|
"Superword Level Parallelism analysis") \
|
2015-06-16 16:10:36 -07:00
|
|
|
\
|
2020-09-11 04:05:18 +00:00
|
|
|
product(bool, PostLoopMultiversioning, false, EXPERIMENTAL, \
|
2016-04-05 10:34:05 -07:00
|
|
|
"Multi versioned post loops to eliminate range checks") \
|
|
|
|
\
|
2015-06-16 16:10:36 -07:00
|
|
|
notproduct(bool, TraceSuperWordLoopUnrollAnalysis, false, \
|
|
|
|
"Trace what Superword Level Parallelism analysis applies") \
|
|
|
|
\
|
2020-09-11 04:05:18 +00:00
|
|
|
product(bool, UseVectorMacroLogic, true, DIAGNOSTIC, \
|
2020-04-02 22:38:23 +05:30
|
|
|
"Use ternary macro logic instructions") \
|
|
|
|
\
|
2007-12-01 00:00:00 +00:00
|
|
|
product(intx, LoopUnrollMin, 4, \
|
|
|
|
"Minimum number of unroll loop bodies before checking progress" \
|
|
|
|
"of rounds of unroll,optimize,..") \
|
2015-10-09 14:21:26 +02:00
|
|
|
range(0, max_jint) \
|
2017-07-19 08:29:44 -07:00
|
|
|
\
|
2017-10-13 14:02:01 +02:00
|
|
|
product(bool, UseSubwordForMaxVector, true, \
|
2017-07-19 08:29:44 -07:00
|
|
|
"Use Subword Analysis to set maximum vector size") \
|
2007-12-01 00:00:00 +00:00
|
|
|
\
|
2017-12-05 09:49:23 -08:00
|
|
|
product(bool, UseVectorCmov, false, \
|
|
|
|
"Use Vectorized Cmov") \
|
|
|
|
\
|
2007-12-01 00:00:00 +00:00
|
|
|
develop(intx, UnrollLimitForProfileCheck, 1, \
|
|
|
|
"Don't use profile_trip_cnt() to restrict unrolling until " \
|
|
|
|
"unrolling would push the number of unrolled iterations above " \
|
|
|
|
"UnrollLimitForProfileCheck. A higher value allows more " \
|
|
|
|
"unrolling. Zero acts as a very large value." ) \
|
2015-10-09 14:21:26 +02:00
|
|
|
range(0, max_intx) \
|
2007-12-01 00:00:00 +00:00
|
|
|
\
|
|
|
|
product(intx, MultiArrayExpandLimit, 6, \
|
|
|
|
"Maximum number of individual allocations in an inline-expanded " \
|
|
|
|
"multianewarray instruction") \
|
2015-10-09 14:21:26 +02:00
|
|
|
range(0, max_jint) \
|
2007-12-01 00:00:00 +00:00
|
|
|
\
|
|
|
|
notproduct(bool, TraceProfileTripCount, false, \
|
|
|
|
"Trace profile loop trip count information") \
|
|
|
|
\
|
2015-12-04 14:06:38 +01:00
|
|
|
product(bool, UseCountedLoopSafepoints, false, \
|
|
|
|
"Force counted loops to keep a safepoint") \
|
|
|
|
\
|
2010-01-12 14:37:35 -08:00
|
|
|
product(bool, UseLoopPredicate, true, \
|
|
|
|
"Generate a predicate to select fast/slow loop versions") \
|
|
|
|
\
|
|
|
|
develop(bool, TraceLoopPredicate, false, \
|
|
|
|
"Trace generation of loop predicates") \
|
|
|
|
\
|
2011-03-21 11:28:14 -07:00
|
|
|
develop(bool, TraceLoopOpts, false, \
|
|
|
|
"Trace executed loop optimizations") \
|
|
|
|
\
|
2011-05-04 13:12:42 -07:00
|
|
|
develop(bool, TraceLoopLimitCheck, false, \
|
|
|
|
"Trace generation of loop limits checks") \
|
|
|
|
\
|
|
|
|
develop(bool, TraceRangeLimitCheck, false, \
|
|
|
|
"Trace additional overflow checks in RCE") \
|
|
|
|
\
|
2013-11-21 19:00:57 -08:00
|
|
|
/* OptimizeFill not yet supported on PowerPC. */ \
|
|
|
|
product(bool, OptimizeFill, true PPC64_ONLY(&& false), \
|
2010-08-27 17:33:49 -07:00
|
|
|
"convert fill/copy loops into intrinsic") \
|
|
|
|
\
|
|
|
|
develop(bool, TraceOptimizeFill, false, \
|
|
|
|
"print detailed information about fill conversion") \
|
|
|
|
\
|
2007-12-01 00:00:00 +00:00
|
|
|
develop(bool, OptoCoalesce, true, \
|
|
|
|
"Use Conservative Copy Coalescing in the Register Allocator") \
|
|
|
|
\
|
|
|
|
develop(bool, UseUniqueSubclasses, true, \
|
|
|
|
"Narrow an abstract reference to the unique concrete subclass") \
|
|
|
|
\
|
|
|
|
product(intx, TrackedInitializationLimit, 50, \
|
|
|
|
"When initializing fields, track up to this many words") \
|
2015-10-09 14:21:26 +02:00
|
|
|
range(0, 65535) \
|
2007-12-01 00:00:00 +00:00
|
|
|
\
|
|
|
|
product(bool, ReduceFieldZeroing, true, \
|
|
|
|
"When initializing fields, try to avoid needless zeroing") \
|
|
|
|
\
|
|
|
|
product(bool, ReduceInitialCardMarks, true, \
|
|
|
|
"When initializing fields, try to avoid needless card marks") \
|
|
|
|
\
|
|
|
|
product(bool, ReduceBulkZeroing, true, \
|
|
|
|
"When bulk-initializing, try to avoid needless zeroing") \
|
|
|
|
\
|
2010-08-19 14:51:47 -07:00
|
|
|
product(bool, UseFPUForSpilling, false, \
|
|
|
|
"Spill integer registers to FPU instead of stack when possible") \
|
|
|
|
\
|
2007-12-01 00:00:00 +00:00
|
|
|
develop_pd(intx, RegisterCostAreaRatio, \
|
|
|
|
"Spill selection in reg allocator: scale area by (X/64K) before " \
|
|
|
|
"adding cost") \
|
|
|
|
\
|
|
|
|
develop_pd(bool, UseCISCSpill, \
|
|
|
|
"Use ADLC supplied cisc instructions during allocation") \
|
|
|
|
\
|
|
|
|
notproduct(bool, VerifyGraphEdges , false, \
|
|
|
|
"Verify Bi-directional Edges") \
|
|
|
|
\
|
|
|
|
notproduct(bool, VerifyDUIterators, true, \
|
|
|
|
"Verify the safety of all iterations of Bi-directional Edges") \
|
|
|
|
\
|
|
|
|
notproduct(bool, VerifyHashTableKeys, true, \
|
|
|
|
"Verify the immutability of keys in the VN hash tables") \
|
|
|
|
\
|
2009-01-07 11:04:45 -08:00
|
|
|
notproduct(bool, VerifyRegisterAllocator , false, \
|
|
|
|
"Verify Register Allocator") \
|
|
|
|
\
|
2007-12-01 00:00:00 +00:00
|
|
|
develop_pd(intx, FLOATPRESSURE, \
|
|
|
|
"Number of float LRG's that constitute high register pressure") \
|
2015-10-09 14:21:26 +02:00
|
|
|
range(0, max_jint) \
|
2007-12-01 00:00:00 +00:00
|
|
|
\
|
|
|
|
develop_pd(intx, INTPRESSURE, \
|
|
|
|
"Number of integer LRG's that constitute high register pressure") \
|
2015-10-09 14:21:26 +02:00
|
|
|
range(0, max_jint) \
|
2007-12-01 00:00:00 +00:00
|
|
|
\
|
|
|
|
notproduct(bool, TraceOptoPipelining, false, \
|
|
|
|
"Trace pipelining information") \
|
|
|
|
\
|
|
|
|
notproduct(bool, TraceOptoOutput, false, \
|
|
|
|
"Trace pipelining information") \
|
|
|
|
\
|
|
|
|
product_pd(bool, OptoScheduling, \
|
|
|
|
"Instruction Scheduling after register allocation") \
|
|
|
|
\
|
2015-09-16 13:16:17 -07:00
|
|
|
product_pd(bool, OptoRegScheduling, \
|
|
|
|
"Instruction Scheduling before register allocation for pressure") \
|
|
|
|
\
|
2007-12-01 00:00:00 +00:00
|
|
|
product(bool, PartialPeelLoop, true, \
|
|
|
|
"Partial peel (rotate) loops") \
|
|
|
|
\
|
|
|
|
product(intx, PartialPeelNewPhiDelta, 0, \
|
|
|
|
"Additional phis that can be created by partial peeling") \
|
2015-10-09 14:21:26 +02:00
|
|
|
range(0, max_jint) \
|
2007-12-01 00:00:00 +00:00
|
|
|
\
|
|
|
|
notproduct(bool, TracePartialPeeling, false, \
|
|
|
|
"Trace partial peeling (loop rotation) information") \
|
|
|
|
\
|
|
|
|
product(bool, PartialPeelAtUnsignedTests, true, \
|
|
|
|
"Partial peel at unsigned tests if no signed test exists") \
|
|
|
|
\
|
|
|
|
product(bool, ReassociateInvariants, true, \
|
|
|
|
"Enable reassociation of expressions with loop invariants.") \
|
|
|
|
\
|
|
|
|
product(bool, LoopUnswitching, true, \
|
|
|
|
"Enable loop unswitching (a form of invariant test hoisting)") \
|
|
|
|
\
|
|
|
|
notproduct(bool, TraceLoopUnswitching, false, \
|
|
|
|
"Trace loop unswitching") \
|
|
|
|
\
|
2015-05-05 12:33:57 -07:00
|
|
|
product(bool, AllowVectorizeOnDemand, true, \
|
|
|
|
"Globally supress vectorization set in VectorizeMethod") \
|
|
|
|
\
|
2007-12-01 00:00:00 +00:00
|
|
|
product(bool, UseSuperWord, true, \
|
|
|
|
"Transform scalar operations into superword operations") \
|
|
|
|
\
|
|
|
|
develop(bool, SuperWordRTDepCheck, false, \
|
|
|
|
"Enable runtime dependency checks.") \
|
|
|
|
\
|
2015-04-01 18:07:50 -07:00
|
|
|
product(bool, SuperWordReductions, true, \
|
|
|
|
"Enable reductions support in superword.") \
|
|
|
|
\
|
2015-10-26 19:33:31 -07:00
|
|
|
product(bool, UseCMoveUnconditionally, false, \
|
|
|
|
"Use CMove (scalar and vector) ignoring profitability test.") \
|
|
|
|
\
|
2015-10-09 12:17:58 -07:00
|
|
|
product(bool, DoReserveCopyInSuperWord, true, \
|
|
|
|
"Create reserve copy of graph in SuperWord.") \
|
|
|
|
\
|
2012-06-19 15:12:56 -07:00
|
|
|
notproduct(bool, TraceSuperWord, false, \
|
2007-12-01 00:00:00 +00:00
|
|
|
"Trace superword transforms") \
|
|
|
|
\
|
2012-06-19 15:12:56 -07:00
|
|
|
notproduct(bool, TraceNewVectors, false, \
|
|
|
|
"Trace creation of Vector nodes") \
|
|
|
|
\
|
2007-12-01 00:00:00 +00:00
|
|
|
product_pd(bool, OptoBundling, \
|
|
|
|
"Generate nops to fill i-cache lines") \
|
|
|
|
\
|
|
|
|
product_pd(intx, ConditionalMoveLimit, \
|
|
|
|
"Limit of ops to make speculative when using CMOVE") \
|
2015-10-09 14:21:26 +02:00
|
|
|
range(0, max_jint) \
|
2007-12-01 00:00:00 +00:00
|
|
|
\
|
2010-12-03 01:34:31 -08:00
|
|
|
product(bool, UseRDPCForConstantTableBase, false, \
|
|
|
|
"Use Sparc RDPC instruction for the constant table base.") \
|
|
|
|
\
|
2015-10-20 19:22:56 +03:00
|
|
|
notproduct(bool, PrintIdealGraph, false, \
|
2007-12-01 00:00:00 +00:00
|
|
|
"Print ideal graph to XML file / network interface. " \
|
|
|
|
"By default attempts to connect to the visualizer on a socket.") \
|
|
|
|
\
|
2015-10-20 19:22:56 +03:00
|
|
|
notproduct(intx, PrintIdealGraphLevel, 0, \
|
2014-10-15 10:51:43 +02:00
|
|
|
"Level of detail of the ideal graph printout. " \
|
2020-06-12 13:33:29 -07:00
|
|
|
"System-wide value, -1=printing is disabled, " \
|
|
|
|
"0=print nothing except IGVPrintLevel directives, " \
|
|
|
|
"4=all details printed. " \
|
2014-10-15 10:51:43 +02:00
|
|
|
"Level of detail of printouts can be set on a per-method level " \
|
|
|
|
"as well by using CompileCommand=option.") \
|
2020-06-12 13:33:29 -07:00
|
|
|
range(-1, 4) \
|
2014-10-15 10:51:43 +02:00
|
|
|
\
|
2015-10-20 19:22:56 +03:00
|
|
|
notproduct(intx, PrintIdealGraphPort, 4444, \
|
2007-12-01 00:00:00 +00:00
|
|
|
"Ideal graph printer to network port") \
|
2015-10-09 14:21:26 +02:00
|
|
|
range(0, SHRT_MAX) \
|
2007-12-01 00:00:00 +00:00
|
|
|
\
|
2008-11-18 12:31:53 -08:00
|
|
|
notproduct(ccstr, PrintIdealGraphAddress, "127.0.0.1", \
|
2007-12-01 00:00:00 +00:00
|
|
|
"IP address to connect to visualizer") \
|
|
|
|
\
|
2008-11-18 12:31:53 -08:00
|
|
|
notproduct(ccstr, PrintIdealGraphFile, NULL, \
|
2007-12-01 00:00:00 +00:00
|
|
|
"File to dump ideal graph to. If set overrides the " \
|
|
|
|
"use of the network") \
|
|
|
|
\
|
|
|
|
product(bool, UseBimorphicInlining, true, \
|
|
|
|
"Profiling based inlining for two receivers") \
|
|
|
|
\
|
|
|
|
product(bool, UseOnlyInlinedBimorphic, true, \
|
|
|
|
"Don't use BimorphicInlining if can't inline a second method") \
|
|
|
|
\
|
2010-08-03 15:55:03 -07:00
|
|
|
develop(bool, SubsumeLoads, true, \
|
2015-06-18 14:39:38 -05:00
|
|
|
"Attempt to compile while subsuming loads into machine " \
|
|
|
|
"instructions.") \
|
2010-08-03 15:55:03 -07:00
|
|
|
\
|
|
|
|
develop(bool, StressRecompilation, false, \
|
2015-06-18 14:39:38 -05:00
|
|
|
"Recompile each compiled method without subsuming loads " \
|
|
|
|
"or escape analysis.") \
|
2010-08-03 15:55:03 -07:00
|
|
|
\
|
2007-12-01 00:00:00 +00:00
|
|
|
develop(intx, ImplicitNullCheckThreshold, 3, \
|
2015-06-18 14:39:38 -05:00
|
|
|
"Don't do implicit null checks if NPE's in a method exceeds " \
|
|
|
|
"limit") \
|
2015-10-09 14:21:26 +02:00
|
|
|
range(0, max_jint) \
|
2007-12-01 00:00:00 +00:00
|
|
|
\
|
|
|
|
product(intx, LoopOptsCount, 43, \
|
|
|
|
"Set level of loop optimization for tier 1 compiles") \
|
2015-10-09 14:21:26 +02:00
|
|
|
range(5, 43) \
|
2007-12-01 00:00:00 +00:00
|
|
|
\
|
|
|
|
/* controls for heat-based inlining */ \
|
|
|
|
\
|
|
|
|
develop(intx, NodeCountInliningCutoff, 18000, \
|
|
|
|
"If parser node generation exceeds limit stop inlining") \
|
2015-10-09 14:21:26 +02:00
|
|
|
range(0, max_jint) \
|
2007-12-01 00:00:00 +00:00
|
|
|
\
|
|
|
|
develop(intx, NodeCountInliningStep, 1000, \
|
|
|
|
"Target size of warm calls inlined between optimization passes") \
|
2015-10-09 14:21:26 +02:00
|
|
|
range(0, max_jint) \
|
2007-12-01 00:00:00 +00:00
|
|
|
\
|
|
|
|
develop(bool, InlineWarmCalls, false, \
|
|
|
|
"Use a heat-based priority queue to govern inlining") \
|
|
|
|
\
|
2017-04-28 14:34:24 +02:00
|
|
|
/* Max values must not exceed WarmCallInfo::MAX_VALUE(). */ \
|
2007-12-01 00:00:00 +00:00
|
|
|
develop(intx, HotCallCountThreshold, 999999, \
|
|
|
|
"large numbers of calls (per method invocation) force hotness") \
|
2017-04-28 14:34:24 +02:00
|
|
|
range(0, ((intx)MIN2((int64_t)max_intx,(int64_t)(+1.0e10)))) \
|
2007-12-01 00:00:00 +00:00
|
|
|
\
|
|
|
|
develop(intx, HotCallProfitThreshold, 999999, \
|
|
|
|
"highly profitable inlining opportunities force hotness") \
|
2017-04-28 14:34:24 +02:00
|
|
|
range(0, ((intx)MIN2((int64_t)max_intx,(int64_t)(+1.0e10)))) \
|
2007-12-01 00:00:00 +00:00
|
|
|
\
|
|
|
|
develop(intx, HotCallTrivialWork, -1, \
|
|
|
|
"trivial execution time (no larger than this) forces hotness") \
|
2017-04-28 14:34:24 +02:00
|
|
|
range(-1, ((intx)MIN2((int64_t)max_intx,(int64_t)(+1.0e10)))) \
|
2007-12-01 00:00:00 +00:00
|
|
|
\
|
|
|
|
develop(intx, HotCallTrivialSize, -1, \
|
|
|
|
"trivial methods (no larger than this) force calls to be hot") \
|
2017-04-28 14:34:24 +02:00
|
|
|
range(-1, ((intx)MIN2((int64_t)max_intx,(int64_t)(+1.0e10)))) \
|
2007-12-01 00:00:00 +00:00
|
|
|
\
|
|
|
|
develop(intx, WarmCallMinCount, -1, \
|
|
|
|
"number of calls (per method invocation) to enable inlining") \
|
2017-04-28 14:34:24 +02:00
|
|
|
range(-1, ((intx)MIN2((int64_t)max_intx,(int64_t)(+1.0e10)))) \
|
2007-12-01 00:00:00 +00:00
|
|
|
\
|
|
|
|
develop(intx, WarmCallMinProfit, -1, \
|
|
|
|
"number of calls (per method invocation) to enable inlining") \
|
2017-04-28 14:34:24 +02:00
|
|
|
range(-1, ((intx)MIN2((int64_t)max_intx,(int64_t)(+1.0e10)))) \
|
2007-12-01 00:00:00 +00:00
|
|
|
\
|
|
|
|
develop(intx, WarmCallMaxWork, 999999, \
|
|
|
|
"execution time of the largest inlinable method") \
|
2017-04-28 14:34:24 +02:00
|
|
|
range(0, ((intx)MIN2((int64_t)max_intx,(int64_t)(+1.0e10)))) \
|
2007-12-01 00:00:00 +00:00
|
|
|
\
|
|
|
|
develop(intx, WarmCallMaxSize, 999999, \
|
|
|
|
"size of the largest inlinable method") \
|
2017-04-28 14:34:24 +02:00
|
|
|
range(0, ((intx)MIN2((int64_t)max_intx,(int64_t)(+1.0e10)))) \
|
2007-12-01 00:00:00 +00:00
|
|
|
\
|
2013-06-11 16:34:34 -04:00
|
|
|
product(intx, MaxNodeLimit, 80000, \
|
2007-12-01 00:00:00 +00:00
|
|
|
"Maximum number of nodes") \
|
2015-10-09 14:21:26 +02:00
|
|
|
range(1000, max_jint / 3) \
|
2007-12-01 00:00:00 +00:00
|
|
|
\
|
2013-06-11 16:34:34 -04:00
|
|
|
product(intx, NodeLimitFudgeFactor, 2000, \
|
2007-12-01 00:00:00 +00:00
|
|
|
"Fudge Factor for certain optimizations") \
|
2015-10-09 14:21:26 +02:00
|
|
|
constraint(NodeLimitFudgeFactorConstraintFunc, AfterErgo) \
|
2007-12-01 00:00:00 +00:00
|
|
|
\
|
|
|
|
product(bool, UseJumpTables, true, \
|
|
|
|
"Use JumpTables instead of a binary search tree for switches") \
|
|
|
|
\
|
|
|
|
product(bool, UseDivMod, true, \
|
|
|
|
"Use combined DivMod instruction if available") \
|
|
|
|
\
|
2013-09-11 09:34:00 +02:00
|
|
|
product_pd(intx, MinJumpTableSize, \
|
2007-12-01 00:00:00 +00:00
|
|
|
"Minimum number of targets in a generated jump table") \
|
2015-10-09 14:21:26 +02:00
|
|
|
range(0, max_intx) \
|
2007-12-01 00:00:00 +00:00
|
|
|
\
|
|
|
|
product(intx, MaxJumpTableSize, 65000, \
|
|
|
|
"Maximum number of targets in a generated jump table") \
|
2015-10-09 14:21:26 +02:00
|
|
|
range(0, max_intx) \
|
2007-12-01 00:00:00 +00:00
|
|
|
\
|
|
|
|
product(intx, MaxJumpTableSparseness, 5, \
|
|
|
|
"Maximum sparseness for jumptables") \
|
2015-10-09 14:21:26 +02:00
|
|
|
range(0, max_intx / 4) \
|
2007-12-01 00:00:00 +00:00
|
|
|
\
|
|
|
|
product(bool, EliminateLocks, true, \
|
|
|
|
"Coarsen locks when possible") \
|
|
|
|
\
|
2012-01-07 13:26:43 -08:00
|
|
|
product(bool, EliminateNestedLocks, true, \
|
|
|
|
"Eliminate nested locks of the same object when possible") \
|
|
|
|
\
|
2007-12-01 00:00:00 +00:00
|
|
|
notproduct(bool, PrintLockStatistics, false, \
|
|
|
|
"Print precise statistics on the dynamic lock usage") \
|
|
|
|
\
|
2020-09-11 04:05:18 +00:00
|
|
|
product(bool, PrintPreciseBiasedLockingStatistics, false, DIAGNOSTIC, \
|
2020-05-13 15:47:10 +00:00
|
|
|
"(Deprecated) Print per-lock-site statistics of biased locking " \
|
|
|
|
"in JVM") \
|
2007-12-01 00:00:00 +00:00
|
|
|
\
|
2020-09-11 04:05:18 +00:00
|
|
|
product(bool, PrintPreciseRTMLockingStatistics, false, DIAGNOSTIC, \
|
2014-03-20 17:49:27 -07:00
|
|
|
"Print per-lock-site statistics of rtm locking in JVM") \
|
|
|
|
\
|
2007-12-01 00:00:00 +00:00
|
|
|
notproduct(bool, PrintEliminateLocks, false, \
|
|
|
|
"Print out when locks are eliminated") \
|
|
|
|
\
|
2013-05-08 15:08:01 -07:00
|
|
|
product(bool, EliminateAutoBox, true, \
|
|
|
|
"Control optimizations for autobox elimination") \
|
2007-12-05 09:01:00 -08:00
|
|
|
\
|
|
|
|
product(intx, AutoBoxCacheMax, 128, \
|
|
|
|
"Sets max value cached by the java.lang.Integer autobox cache") \
|
2015-10-09 14:21:26 +02:00
|
|
|
range(0, max_jint) \
|
2007-12-05 09:01:00 -08:00
|
|
|
\
|
2020-09-11 04:05:18 +00:00
|
|
|
product(bool, AggressiveUnboxing, true, DIAGNOSTIC, \
|
2013-05-08 15:08:01 -07:00
|
|
|
"Control optimizations for aggressive boxing elimination") \
|
|
|
|
\
|
2013-11-14 19:24:59 -08:00
|
|
|
develop(bool, TracePostallocExpand, false, "Trace expanding nodes after" \
|
|
|
|
" register allocation.") \
|
|
|
|
\
|
2009-08-19 19:05:18 -07:00
|
|
|
product(bool, DoEscapeAnalysis, true, \
|
2007-12-01 00:00:00 +00:00
|
|
|
"Perform escape analysis") \
|
|
|
|
\
|
2014-10-24 10:28:19 -07:00
|
|
|
product(double, EscapeAnalysisTimeout, 20. DEBUG_ONLY(+40.), \
|
|
|
|
"Abort EA when it reaches time limit (in sec)") \
|
2015-10-09 14:21:26 +02:00
|
|
|
range(0, DBL_MAX) \
|
2014-10-24 10:28:19 -07:00
|
|
|
\
|
2012-10-25 17:32:03 -07:00
|
|
|
develop(bool, ExitEscapeAnalysisOnTimeout, true, \
|
|
|
|
"Exit or throw assert in EA when it reaches time limit") \
|
|
|
|
\
|
2007-12-01 00:00:00 +00:00
|
|
|
notproduct(bool, PrintEscapeAnalysis, false, \
|
|
|
|
"Print the results of escape analysis") \
|
|
|
|
\
|
|
|
|
product(bool, EliminateAllocations, true, \
|
|
|
|
"Use escape analysis to eliminate allocations") \
|
|
|
|
\
|
2008-03-14 15:26:33 -07:00
|
|
|
notproduct(bool, PrintEliminateAllocations, false, \
|
|
|
|
"Print out when allocations are eliminated") \
|
|
|
|
\
|
|
|
|
product(intx, EliminateAllocationArraySizeLimit, 64, \
|
|
|
|
"Array size (number of elements) limit for scalar replacement") \
|
2015-10-09 14:21:26 +02:00
|
|
|
range(0, max_jint) \
|
2008-03-14 15:26:33 -07:00
|
|
|
\
|
2011-11-14 18:38:03 -08:00
|
|
|
product(bool, OptimizePtrCompare, true, \
|
|
|
|
"Use escape analysis to optimize pointers compare") \
|
|
|
|
\
|
|
|
|
notproduct(bool, PrintOptimizePtrCompare, false, \
|
|
|
|
"Print information about optimized pointers compare") \
|
|
|
|
\
|
2012-03-12 10:46:47 -07:00
|
|
|
notproduct(bool, VerifyConnectionGraph , true, \
|
|
|
|
"Verify Connection Graph construction in Escape Analysis") \
|
|
|
|
\
|
2009-03-26 15:04:55 -07:00
|
|
|
product(bool, UseOptoBiasInlining, true, \
|
2020-05-13 15:47:10 +00:00
|
|
|
"(Deprecated) Generate biased locking code in C2 ideal graph") \
|
2008-11-07 09:29:38 -08:00
|
|
|
\
|
2011-10-23 20:23:14 -07:00
|
|
|
product(bool, OptimizeStringConcat, true, \
|
2009-11-12 09:24:21 -08:00
|
|
|
"Optimize the construction of Strings by StringBuilder") \
|
|
|
|
\
|
|
|
|
notproduct(bool, PrintOptimizeStringConcat, false, \
|
|
|
|
"Print information about transformations performed on Strings") \
|
|
|
|
\
|
2008-07-28 17:12:52 -07:00
|
|
|
product(intx, ValueSearchLimit, 1000, \
|
|
|
|
"Recursion limit in PhaseMacroExpand::value_from_mem_phi") \
|
2015-10-09 14:21:26 +02:00
|
|
|
range(0, max_jint) \
|
2008-07-28 17:12:52 -07:00
|
|
|
\
|
2007-12-01 00:00:00 +00:00
|
|
|
product(intx, MaxLabelRootDepth, 1100, \
|
|
|
|
"Maximum times call Label_Root to prevent stack overflow") \
|
2015-10-09 14:21:26 +02:00
|
|
|
range(100, max_jint) \
|
2008-05-15 22:43:11 -07:00
|
|
|
\
|
2020-09-11 04:05:18 +00:00
|
|
|
product(intx, DominatorSearchLimit, 1000, DIAGNOSTIC, \
|
2008-05-15 22:43:11 -07:00
|
|
|
"Iterations limit in Node::dominates") \
|
2015-10-09 14:21:26 +02:00
|
|
|
range(0, max_jint) \
|
2008-11-06 14:59:10 -08:00
|
|
|
\
|
|
|
|
product(bool, BlockLayoutByFrequency, true, \
|
|
|
|
"Use edge frequencies to drive block ordering") \
|
|
|
|
\
|
|
|
|
product(intx, BlockLayoutMinDiamondPercentage, 20, \
|
2015-06-18 14:39:38 -05:00
|
|
|
"Miniumum %% of a successor (predecessor) for which block " \
|
|
|
|
"layout a will allow a fork (join) in a single chain") \
|
|
|
|
range(0, 100) \
|
2008-11-06 14:59:10 -08:00
|
|
|
\
|
2009-03-26 15:04:55 -07:00
|
|
|
product(bool, BlockLayoutRotateLoops, true, \
|
2016-04-18 20:57:27 +03:00
|
|
|
"Allow back branches to be fall throughs in the block layout") \
|
2012-08-27 15:17:17 -07:00
|
|
|
\
|
2020-09-11 04:05:18 +00:00
|
|
|
product(bool, InlineReflectionGetCallerClass, true, DIAGNOSTIC, \
|
2015-06-18 14:39:38 -05:00
|
|
|
"inline sun.reflect.Reflection.getCallerClass(), known to be " \
|
|
|
|
"part of base library DLL") \
|
2012-08-27 15:17:17 -07:00
|
|
|
\
|
2020-09-11 04:05:18 +00:00
|
|
|
product(bool, InlineObjectCopy, true, DIAGNOSTIC, \
|
2012-08-27 15:17:17 -07:00
|
|
|
"inline Object.clone and Arrays.copyOf[Range] intrinsics") \
|
|
|
|
\
|
2020-09-11 04:05:18 +00:00
|
|
|
product(bool, SpecialStringCompareTo, true, DIAGNOSTIC, \
|
2012-08-27 15:17:17 -07:00
|
|
|
"special version of string compareTo") \
|
|
|
|
\
|
2020-09-11 04:05:18 +00:00
|
|
|
product(bool, SpecialStringIndexOf, true, DIAGNOSTIC, \
|
2012-08-27 15:17:17 -07:00
|
|
|
"special version of string indexOf") \
|
|
|
|
\
|
2020-09-11 04:05:18 +00:00
|
|
|
product(bool, SpecialStringEquals, true, DIAGNOSTIC, \
|
2012-08-27 15:17:17 -07:00
|
|
|
"special version of string equals") \
|
|
|
|
\
|
2020-09-11 04:05:18 +00:00
|
|
|
product(bool, SpecialArraysEquals, true, DIAGNOSTIC, \
|
2012-08-27 15:17:17 -07:00
|
|
|
"special version of Arrays.equals(char[],char[])") \
|
|
|
|
\
|
2020-09-11 04:05:18 +00:00
|
|
|
product(bool, SpecialEncodeISOArray, true, DIAGNOSTIC, \
|
2013-01-22 15:34:16 -08:00
|
|
|
"special version of ISO_8859_1$Encoder.encodeISOArray") \
|
|
|
|
\
|
2012-08-27 15:17:17 -07:00
|
|
|
develop(bool, BailoutToInterpreterForThrows, false, \
|
|
|
|
"Compiled methods which throws/catches exceptions will be " \
|
|
|
|
"deopt and intp.") \
|
|
|
|
\
|
|
|
|
develop(bool, ConvertCmpD2CmpF, true, \
|
|
|
|
"Convert cmpD to cmpF when one input is constant in float range") \
|
|
|
|
\
|
|
|
|
develop(bool, ConvertFloat2IntClipping, true, \
|
|
|
|
"Convert float2int clipping idiom to integer clipping") \
|
|
|
|
\
|
|
|
|
develop(bool, MonomorphicArrayCheck, true, \
|
|
|
|
"Uncommon-trap array store checks that require full type check") \
|
|
|
|
\
|
|
|
|
notproduct(bool, TracePhaseCCP, false, \
|
|
|
|
"Print progress during Conditional Constant Propagation") \
|
|
|
|
\
|
|
|
|
develop(bool, PrintDominators, false, \
|
|
|
|
"Print out dominator trees for GVN") \
|
|
|
|
\
|
2020-09-11 04:05:18 +00:00
|
|
|
product(bool, TraceSpilling, false, DIAGNOSTIC, \
|
2012-08-27 15:17:17 -07:00
|
|
|
"Trace spilling") \
|
|
|
|
\
|
2020-09-11 04:05:18 +00:00
|
|
|
product(bool, TraceTypeProfile, false, DIAGNOSTIC, \
|
2012-08-27 15:17:17 -07:00
|
|
|
"Trace type profile") \
|
|
|
|
\
|
|
|
|
develop(bool, PoisonOSREntry, true, \
|
|
|
|
"Detect abnormal calls to OSR code") \
|
|
|
|
\
|
|
|
|
develop(bool, SoftMatchFailure, trueInProduct, \
|
|
|
|
"If the DFA fails to match a node, print a message and bail out") \
|
|
|
|
\
|
|
|
|
develop(bool, InlineAccessors, true, \
|
|
|
|
"inline accessor methods (get/set)") \
|
|
|
|
\
|
|
|
|
product(intx, TypeProfileMajorReceiverPercent, 90, \
|
|
|
|
"% of major receiver type to all profiled receivers") \
|
2015-06-18 14:39:38 -05:00
|
|
|
range(0, 100) \
|
2012-08-27 15:17:17 -07:00
|
|
|
\
|
2020-09-11 04:05:18 +00:00
|
|
|
product(bool, PrintIntrinsics, false, DIAGNOSTIC, \
|
2012-08-27 15:17:17 -07:00
|
|
|
"prints attempted and successful inlining of intrinsics") \
|
|
|
|
\
|
|
|
|
develop(bool, StressReflectiveCode, false, \
|
|
|
|
"Use inexact types at allocations, etc., to test reflection") \
|
|
|
|
\
|
2020-09-11 04:05:18 +00:00
|
|
|
product(bool, DebugInlinedCalls, true, DIAGNOSTIC, \
|
2012-08-27 15:17:17 -07:00
|
|
|
"If false, restricts profiled locations to the root method only") \
|
|
|
|
\
|
|
|
|
notproduct(bool, VerifyLoopOptimizations, false, \
|
|
|
|
"verify major loop optimizations") \
|
|
|
|
\
|
2020-09-11 04:05:18 +00:00
|
|
|
product(bool, ProfileDynamicTypes, true, DIAGNOSTIC, \
|
2012-08-27 15:17:17 -07:00
|
|
|
"do extra type profiling and use it more aggressively") \
|
|
|
|
\
|
|
|
|
develop(bool, TraceIterativeGVN, false, \
|
|
|
|
"Print progress during Iterative Global Value Numbering") \
|
|
|
|
\
|
|
|
|
develop(bool, VerifyIterativeGVN, false, \
|
|
|
|
"Verify Def-Use modifications during sparse Iterative Global " \
|
|
|
|
"Value Numbering") \
|
|
|
|
\
|
|
|
|
notproduct(bool, TraceCISCSpill, false, \
|
|
|
|
"Trace allocators use of cisc spillable instructions") \
|
|
|
|
\
|
|
|
|
product(bool, SplitIfBlocks, true, \
|
|
|
|
"Clone compares and control flow through merge points to fold " \
|
|
|
|
"some branches") \
|
|
|
|
\
|
|
|
|
develop(intx, FreqCountInvocations, 1, \
|
|
|
|
"Scaling factor for branch frequencies (deprecated)") \
|
2015-10-09 14:21:26 +02:00
|
|
|
range(1, max_intx) \
|
2012-08-27 15:17:17 -07:00
|
|
|
\
|
|
|
|
product(intx, AliasLevel, 3, \
|
|
|
|
"0 for no aliasing, 1 for oop/field/static/array split, " \
|
|
|
|
"2 for class split, 3 for unique instances") \
|
2015-06-18 14:39:38 -05:00
|
|
|
range(0, 3) \
|
2015-07-27 13:56:26 -07:00
|
|
|
constraint(AliasLevelConstraintFunc,AfterErgo) \
|
2012-08-27 15:17:17 -07:00
|
|
|
\
|
|
|
|
develop(bool, VerifyAliases, false, \
|
|
|
|
"perform extra checks on the results of alias analysis") \
|
2012-12-23 17:08:22 +01:00
|
|
|
\
|
2020-05-18 10:57:16 +02:00
|
|
|
product(intx, MaxInlineLevel, 15, \
|
|
|
|
"maximum number of nested calls that are inlined by high tier " \
|
|
|
|
"compiler") \
|
|
|
|
range(0, max_jint) \
|
|
|
|
\
|
|
|
|
product(intx, MaxRecursiveInlineLevel, 1, \
|
|
|
|
"maximum number of nested recursive calls that are inlined by " \
|
|
|
|
"high tier compiler") \
|
|
|
|
range(0, max_jint) \
|
|
|
|
\
|
|
|
|
product_pd(intx, InlineSmallCode, \
|
|
|
|
"Only inline already compiled methods if their code size is " \
|
|
|
|
"less than this") \
|
|
|
|
range(0, max_jint) \
|
|
|
|
\
|
|
|
|
product(intx, MaxInlineSize, 35, \
|
|
|
|
"The maximum bytecode size of a method to be inlined by high " \
|
|
|
|
"tier compiler") \
|
|
|
|
range(0, max_jint) \
|
|
|
|
\
|
|
|
|
product_pd(intx, FreqInlineSize, \
|
|
|
|
"The maximum bytecode size of a frequent method to be inlined") \
|
|
|
|
range(0, max_jint) \
|
|
|
|
\
|
|
|
|
product(intx, MaxTrivialSize, 6, \
|
|
|
|
"The maximum bytecode size of a trivial method to be inlined by " \
|
|
|
|
"high tier compiler") \
|
|
|
|
range(0, max_jint) \
|
|
|
|
\
|
2012-12-23 17:08:22 +01:00
|
|
|
product(bool, IncrementalInline, true, \
|
|
|
|
"do post parse inlining") \
|
|
|
|
\
|
|
|
|
develop(bool, AlwaysIncrementalInline, false, \
|
|
|
|
"do all inlining incrementally") \
|
|
|
|
\
|
2014-11-24 07:29:03 -08:00
|
|
|
product(intx, LiveNodeCountInliningCutoff, 40000, \
|
2012-12-23 17:08:22 +01:00
|
|
|
"max number of live nodes in a method") \
|
2015-10-09 14:21:26 +02:00
|
|
|
range(0, max_juint / 8) \
|
2013-02-12 12:56:11 +01:00
|
|
|
\
|
2020-09-11 04:05:18 +00:00
|
|
|
product(bool, OptimizeExpensiveOps, true, DIAGNOSTIC, \
|
2013-02-12 12:56:11 +01:00
|
|
|
"Find best control for expensive operations") \
|
2013-09-27 08:39:19 +02:00
|
|
|
\
|
2020-09-11 04:05:18 +00:00
|
|
|
product(bool, UseMathExactIntrinsics, true, DIAGNOSTIC, \
|
2013-10-19 12:16:43 +02:00
|
|
|
"Enables intrinsification of various java.lang.Math functions") \
|
|
|
|
\
|
2020-09-11 04:05:18 +00:00
|
|
|
product(bool, UseCharacterCompareIntrinsics, false, DIAGNOSTIC, \
|
2018-12-11 20:31:18 -05:00
|
|
|
"Enables intrinsification of java.lang.Character functions") \
|
|
|
|
\
|
2020-09-11 04:05:18 +00:00
|
|
|
product(bool, UseMultiplyToLenIntrinsic, false, DIAGNOSTIC, \
|
2014-09-02 12:48:45 -07:00
|
|
|
"Enables intrinsification of BigInteger.multiplyToLen()") \
|
|
|
|
\
|
2020-09-11 04:05:18 +00:00
|
|
|
product(bool, UseSquareToLenIntrinsic, false, DIAGNOSTIC, \
|
2015-06-03 15:02:10 -07:00
|
|
|
"Enables intrinsification of BigInteger.squareToLen()") \
|
|
|
|
\
|
2020-09-11 04:05:18 +00:00
|
|
|
product(bool, UseMulAddIntrinsic, false, DIAGNOSTIC, \
|
2015-06-03 15:02:10 -07:00
|
|
|
"Enables intrinsification of BigInteger.mulAdd()") \
|
|
|
|
\
|
2020-09-11 04:05:18 +00:00
|
|
|
product(bool, UseMontgomeryMultiplyIntrinsic, false, DIAGNOSTIC, \
|
2015-06-16 17:31:53 +01:00
|
|
|
"Enables intrinsification of BigInteger.montgomeryMultiply()") \
|
|
|
|
\
|
2020-09-11 04:05:18 +00:00
|
|
|
product(bool, UseMontgomerySquareIntrinsic, false, DIAGNOSTIC, \
|
2015-06-16 17:31:53 +01:00
|
|
|
"Enables intrinsification of BigInteger.montgomerySquare()") \
|
|
|
|
\
|
2014-03-06 11:11:04 +01:00
|
|
|
product(bool, UseTypeSpeculation, true, \
|
2013-11-27 16:16:21 -08:00
|
|
|
"Speculatively propagate types from profiles") \
|
|
|
|
\
|
2020-09-11 04:05:18 +00:00
|
|
|
product(bool, UseInlineDepthForSpeculativeTypes, true, DIAGNOSTIC, \
|
2014-02-28 13:44:16 +01:00
|
|
|
"Carry inline depth of profile point with speculative type " \
|
|
|
|
"and give priority to profiling from lower inline depth") \
|
|
|
|
\
|
2013-11-27 16:16:21 -08:00
|
|
|
product_pd(bool, TrapBasedRangeChecks, \
|
|
|
|
"Generate code for range checks that uses a cmp and trap " \
|
|
|
|
"instruction raising SIGTRAP. Used on PPC64.") \
|
2014-12-16 13:49:36 +01:00
|
|
|
\
|
|
|
|
product(intx, ArrayCopyLoadStoreMaxElem, 8, \
|
|
|
|
"Maximum number of arraycopy elements inlined as a sequence of" \
|
|
|
|
"loads/stores") \
|
2015-10-09 14:21:26 +02:00
|
|
|
range(0, max_intx) \
|
2014-12-16 13:49:36 +01:00
|
|
|
\
|
|
|
|
develop(bool, StressArrayCopyMacroNode, false, \
|
2015-12-01 08:05:10 +01:00
|
|
|
"Perform ArrayCopy load/store replacement during IGVN only") \
|
|
|
|
\
|
|
|
|
develop(bool, RenumberLiveNodes, true, \
|
|
|
|
"Renumber live nodes") \
|
2017-11-28 11:59:16 +01:00
|
|
|
\
|
|
|
|
product(uintx, LoopStripMiningIter, 0, \
|
|
|
|
"Number of iterations in strip mined loop") \
|
|
|
|
range(0, max_juint) \
|
2020-08-21 17:41:57 +02:00
|
|
|
constraint(LoopStripMiningIterConstraintFunc, AfterErgo) \
|
2017-11-28 11:59:16 +01:00
|
|
|
\
|
|
|
|
product(uintx, LoopStripMiningIterShortLoop, 0, \
|
|
|
|
"Loop with fewer iterations are not strip mined") \
|
|
|
|
range(0, max_juint) \
|
2018-06-19 09:08:39 +02:00
|
|
|
\
|
|
|
|
product(bool, UseProfiledLoopPredicate, true, \
|
2020-02-14 10:31:34 +01:00
|
|
|
"Move predicates out of loops based on profiling data") \
|
|
|
|
\
|
2020-09-11 04:05:18 +00:00
|
|
|
product(bool, ExpandSubTypeCheckAtParseTime, false, DIAGNOSTIC, \
|
|
|
|
"Do not use subtype check macro node")
|
|
|
|
|
|
|
|
// end of C2_FLAGS
|
2007-12-01 00:00:00 +00:00
|
|
|
|
2019-01-10 15:13:51 -05:00
|
|
|
#endif // SHARE_OPTO_C2_GLOBALS_HPP
|