66
67 @Option(help = "", type = OptionType.Expert)
68 public static final OptionKey<Double> LimitInlinedInvokes = new OptionKey<>(5.0);
69
70 @Option(help = "", type = OptionType.Expert)
71 public static final OptionKey<Boolean> InlineEverything = new OptionKey<>(false);
72
73 // escape analysis settings
74 @Option(help = "", type = OptionType.Debug)
75 public static final OptionKey<Boolean> PartialEscapeAnalysis = new OptionKey<>(true);
76
77 @Option(help = "", type = OptionType.Debug)
78 public static final OptionKey<Integer> EscapeAnalysisIterations = new OptionKey<>(2);
79
80 @Option(help = "", type = OptionType.Debug)
81 public static final OptionKey<Integer> EscapeAnalysisLoopCutoff = new OptionKey<>(20);
82
83 @Option(help = "", type = OptionType.Debug)
84 public static final OptionKey<String> EscapeAnalyzeOnly = new OptionKey<>(null);
85
86 @Option(help = "", type = OptionType.Expert)
87 public static final OptionKey<Integer> MaximumEscapeAnalysisArrayLength = new OptionKey<>(32);
88
89 @Option(help = "", type = OptionType.Debug)
90 public static final OptionKey<Boolean> PEAInliningHints = new OptionKey<>(false);
91
92 @Option(help = "", type = OptionType.Expert)
93 public static final OptionKey<Double> TailDuplicationProbability = new OptionKey<>(0.5);
94
95 @Option(help = "", type = OptionType.Expert)
96 public static final OptionKey<Integer> TailDuplicationTrivialSize = new OptionKey<>(1);
97
98 @Option(help = "", type = OptionType.Expert)
99 public static final OptionKey<Integer> DeoptsToDisableOptimisticOptimization = new OptionKey<>(40);
100
101 @Option(help = "", type = OptionType.Debug)
102 public static final OptionKey<Boolean> LoopPeeling = new OptionKey<>(true);
103
104 @Option(help = "", type = OptionType.Debug)
105 public static final OptionKey<Boolean> ReassociateInvariants = new OptionKey<>(true);
106
107 @Option(help = "", type = OptionType.Debug)
125 // debugging settings
126 @Option(help = "", type = OptionType.Debug)
127 public static final OptionKey<Boolean> ZapStackOnMethodEntry = new OptionKey<>(false);
128
129 @Option(help = "", type = OptionType.Debug)
130 public static final OptionKey<Boolean> DeoptALot = new OptionKey<>(false);
131
132 @Option(help = "Stress the code emitting explicit exception throwing code.", type = OptionType.Debug)
133 public static final OptionKey<Boolean> StressExplicitExceptionCode = new OptionKey<>(false);
134
135 @Option(help = "Stress the code emitting invokes with explicit exception edges.", type = OptionType.Debug)
136 public static final OptionKey<Boolean> StressInvokeWithExceptionNode = new OptionKey<>(false);
137
138 @Option(help = "Stress the code by emitting reads at earliest instead of latest point.", type = OptionType.Debug)
139 public static final OptionKey<Boolean> StressTestEarlyReads = new OptionKey<>(false);
140
141 @Option(help = "", type = OptionType.Debug)
142 public static final OptionKey<Boolean> VerifyPhases = new OptionKey<>(false);
143
144 // Debug settings:
145 @Option(help = "", type = OptionType.Debug)
146 public static final OptionKey<Integer> GCDebugStartCycle = new OptionKey<>(-1);
147
148 @Option(help = "Perform platform dependent validation of the Java heap at returns", type = OptionType.Debug)
149 public static final OptionKey<Boolean> VerifyHeapAtReturn = new OptionKey<>(false);
150
151 // Other printing settings
152 @Option(help = "Print profiling information when parsing a method's bytecode", type = OptionType.Debug)
153 public static final OptionKey<Boolean> PrintProfilingInformation = new OptionKey<>(false);
154
155 @Option(help = "", type = OptionType.Debug)
156 public static final OptionKey<Boolean> TraceEscapeAnalysis = new OptionKey<>(false);
157
158 // HotSpot command line options
159 @Option(help = "Print inlining optimizations", type = OptionType.Debug)
160 public static final OptionKey<Boolean> HotSpotPrintInlining = new OptionKey<>(false);
161
162 // Register allocator debugging
163 @Option(help = "Comma separated list of registers that register allocation is limited to.", type = OptionType.Debug)
164 public static final OptionKey<String> RegisterPressure = new OptionKey<>(null);
165
188 public static final OptionKey<Boolean> GenLoopSafepoints = new OptionKey<>(true);
189
190 @Option(help = "", type = OptionType.Debug)
191 public static final OptionKey<Boolean> UseTypeCheckHints = new OptionKey<>(true);
192
193 @Option(help = "", type = OptionType.Expert)
194 public static final OptionKey<Boolean> InlineVTableStubs = new OptionKey<>(true);
195
196 @Option(help = "", type = OptionType.Expert)
197 public static final OptionKey<Boolean> AlwaysInlineVTableStubs = new OptionKey<>(false);
198
199 @Option(help = "", type = OptionType.Debug)
200 public static final OptionKey<Boolean> CanOmitFrame = new OptionKey<>(true);
201
202 // Ahead of time compilation
203 @Option(help = "Try to avoid emitting code where patching is required", type = OptionType.Expert)
204 public static final OptionKey<Boolean> ImmutableCode = new OptionKey<>(false);
205
206 @Option(help = "Generate position independent code", type = OptionType.Expert)
207 public static final OptionKey<Boolean> GeneratePIC = new OptionKey<>(false);
208
209 @Option(help = "", type = OptionType.Expert)
210 public static final OptionKey<Boolean> CallArrayCopy = new OptionKey<>(true);
211
212 // Runtime settings
213 @Option(help = "", type = OptionType.Expert)
214 public static final OptionKey<Boolean> SupportJsrBytecodes = new OptionKey<>(true);
215
216 @Option(help = "", type = OptionType.Expert)
217 public static final OptionKey<Boolean> OptAssumptions = new OptionKey<>(true);
218
219 @Option(help = "", type = OptionType.Debug)
220 public static final OptionKey<Boolean> OptConvertDeoptsToGuards = new OptionKey<>(true);
221
222 @Option(help = "", type = OptionType.Debug)
223 public static final OptionKey<Boolean> OptReadElimination = new OptionKey<>(true);
224
225 @Option(help = "", type = OptionType.Debug)
226 public static final OptionKey<Integer> ReadEliminationMaxLoopVisits = new OptionKey<>(5);
227
228 @Option(help = "", type = OptionType.Debug)
229 public static final OptionKey<Boolean> OptDeoptimizationGrouping = new OptionKey<>(true);
230
|
66
67 @Option(help = "", type = OptionType.Expert)
68 public static final OptionKey<Double> LimitInlinedInvokes = new OptionKey<>(5.0);
69
70 @Option(help = "", type = OptionType.Expert)
71 public static final OptionKey<Boolean> InlineEverything = new OptionKey<>(false);
72
73 // escape analysis settings
74 @Option(help = "", type = OptionType.Debug)
75 public static final OptionKey<Boolean> PartialEscapeAnalysis = new OptionKey<>(true);
76
77 @Option(help = "", type = OptionType.Debug)
78 public static final OptionKey<Integer> EscapeAnalysisIterations = new OptionKey<>(2);
79
80 @Option(help = "", type = OptionType.Debug)
81 public static final OptionKey<Integer> EscapeAnalysisLoopCutoff = new OptionKey<>(20);
82
83 @Option(help = "", type = OptionType.Debug)
84 public static final OptionKey<String> EscapeAnalyzeOnly = new OptionKey<>(null);
85
86 @Option(help = "The maximum length of an array that will be escape analyzed.", type = OptionType.Expert)
87 public static final OptionKey<Integer> MaximumEscapeAnalysisArrayLength = new OptionKey<>(128);
88
89 @Option(help = "", type = OptionType.Debug)
90 public static final OptionKey<Boolean> PEAInliningHints = new OptionKey<>(false);
91
92 @Option(help = "", type = OptionType.Expert)
93 public static final OptionKey<Double> TailDuplicationProbability = new OptionKey<>(0.5);
94
95 @Option(help = "", type = OptionType.Expert)
96 public static final OptionKey<Integer> TailDuplicationTrivialSize = new OptionKey<>(1);
97
98 @Option(help = "", type = OptionType.Expert)
99 public static final OptionKey<Integer> DeoptsToDisableOptimisticOptimization = new OptionKey<>(40);
100
101 @Option(help = "", type = OptionType.Debug)
102 public static final OptionKey<Boolean> LoopPeeling = new OptionKey<>(true);
103
104 @Option(help = "", type = OptionType.Debug)
105 public static final OptionKey<Boolean> ReassociateInvariants = new OptionKey<>(true);
106
107 @Option(help = "", type = OptionType.Debug)
125 // debugging settings
126 @Option(help = "", type = OptionType.Debug)
127 public static final OptionKey<Boolean> ZapStackOnMethodEntry = new OptionKey<>(false);
128
129 @Option(help = "", type = OptionType.Debug)
130 public static final OptionKey<Boolean> DeoptALot = new OptionKey<>(false);
131
132 @Option(help = "Stress the code emitting explicit exception throwing code.", type = OptionType.Debug)
133 public static final OptionKey<Boolean> StressExplicitExceptionCode = new OptionKey<>(false);
134
135 @Option(help = "Stress the code emitting invokes with explicit exception edges.", type = OptionType.Debug)
136 public static final OptionKey<Boolean> StressInvokeWithExceptionNode = new OptionKey<>(false);
137
138 @Option(help = "Stress the code by emitting reads at earliest instead of latest point.", type = OptionType.Debug)
139 public static final OptionKey<Boolean> StressTestEarlyReads = new OptionKey<>(false);
140
141 @Option(help = "", type = OptionType.Debug)
142 public static final OptionKey<Boolean> VerifyPhases = new OptionKey<>(false);
143
144 // Debug settings:
145 @Option(help = "Start tracing compiled GC barriers after N garbage collections (disabled if N <= 0).", type = OptionType.Debug)
146 public static final OptionKey<Integer> GCDebugStartCycle = new OptionKey<>(-1);
147
148 @Option(help = "Perform platform dependent validation of the Java heap at returns", type = OptionType.Debug)
149 public static final OptionKey<Boolean> VerifyHeapAtReturn = new OptionKey<>(false);
150
151 // Other printing settings
152 @Option(help = "Print profiling information when parsing a method's bytecode", type = OptionType.Debug)
153 public static final OptionKey<Boolean> PrintProfilingInformation = new OptionKey<>(false);
154
155 @Option(help = "", type = OptionType.Debug)
156 public static final OptionKey<Boolean> TraceEscapeAnalysis = new OptionKey<>(false);
157
158 // HotSpot command line options
159 @Option(help = "Print inlining optimizations", type = OptionType.Debug)
160 public static final OptionKey<Boolean> HotSpotPrintInlining = new OptionKey<>(false);
161
162 // Register allocator debugging
163 @Option(help = "Comma separated list of registers that register allocation is limited to.", type = OptionType.Debug)
164 public static final OptionKey<String> RegisterPressure = new OptionKey<>(null);
165
188 public static final OptionKey<Boolean> GenLoopSafepoints = new OptionKey<>(true);
189
190 @Option(help = "", type = OptionType.Debug)
191 public static final OptionKey<Boolean> UseTypeCheckHints = new OptionKey<>(true);
192
193 @Option(help = "", type = OptionType.Expert)
194 public static final OptionKey<Boolean> InlineVTableStubs = new OptionKey<>(true);
195
196 @Option(help = "", type = OptionType.Expert)
197 public static final OptionKey<Boolean> AlwaysInlineVTableStubs = new OptionKey<>(false);
198
199 @Option(help = "", type = OptionType.Debug)
200 public static final OptionKey<Boolean> CanOmitFrame = new OptionKey<>(true);
201
202 // Ahead of time compilation
203 @Option(help = "Try to avoid emitting code where patching is required", type = OptionType.Expert)
204 public static final OptionKey<Boolean> ImmutableCode = new OptionKey<>(false);
205
206 @Option(help = "Generate position independent code", type = OptionType.Expert)
207 public static final OptionKey<Boolean> GeneratePIC = new OptionKey<>(false);
208
209 // Runtime settings
210 @Option(help = "", type = OptionType.Expert)
211 public static final OptionKey<Boolean> SupportJsrBytecodes = new OptionKey<>(true);
212
213 @Option(help = "", type = OptionType.Expert)
214 public static final OptionKey<Boolean> OptAssumptions = new OptionKey<>(true);
215
216 @Option(help = "", type = OptionType.Debug)
217 public static final OptionKey<Boolean> OptConvertDeoptsToGuards = new OptionKey<>(true);
218
219 @Option(help = "", type = OptionType.Debug)
220 public static final OptionKey<Boolean> OptReadElimination = new OptionKey<>(true);
221
222 @Option(help = "", type = OptionType.Debug)
223 public static final OptionKey<Integer> ReadEliminationMaxLoopVisits = new OptionKey<>(5);
224
225 @Option(help = "", type = OptionType.Debug)
226 public static final OptionKey<Boolean> OptDeoptimizationGrouping = new OptionKey<>(true);
227
|