133 "Load/link all archived classes for the boot/platform/app " \
134 "loaders before application main") \
135 \
136 product(bool, AOTCacheParallelRelocation, true, DIAGNOSTIC, \
137 "Use parallel relocation code to speed up startup.") \
138 \
139 /* flags to control training and deployment modes */ \
140 \
141 product(bool, AOTRecordTraining, false, DIAGNOSTIC, \
142 "Request output of training data for improved deployment.") \
143 \
144 product(bool, AOTReplayTraining, false, DIAGNOSTIC, \
145 "Read training data, if available, for use in this execution") \
146 \
147 product(bool, AOTPrintTrainingInfo, false, DIAGNOSTIC, \
148 "Print additional information about training") \
149 \
150 product(bool, AOTVerifyTrainingData, trueInDebug, DIAGNOSTIC, \
151 "Verify archived training data") \
152 \
153 product(bool, AOTCompileEagerly, false, EXPERIMENTAL, \
154 "Compile methods as soon as possible") \
155 \
156 /* AOT Code flags */ \
157 \
158 product(bool, AOTAdapterCaching, false, DIAGNOSTIC, \
159 "Enable saving and restoring i2c2i adapters in AOT cache") \
160 \
161 product(bool, AOTStubCaching, false, DIAGNOSTIC, \
162 "Enable saving and restoring stubs and code blobs in AOT cache") \
163 \
164 product(uint, AOTCodeMaxSize, 10*M, DIAGNOSTIC, \
165 "Buffer size in bytes for AOT code caching") \
166 range(1*M, max_jint) \
167 \
168 product(bool, AbortVMOnAOTCodeFailure, false, DIAGNOSTIC, \
169 "Abort VM on the first occurrence of AOT code load or store " \
170 "failure. By default VM will continue execute without AOT code.") \
171 \
172 develop(bool, TestAOTAdapterLinkFailure, false, \
173 "Test failure of adapter linking when loading from AOT cache.") \
174
175 // end of CDS_FLAGS
176
177 DECLARE_FLAGS(CDS_FLAGS)
178
179 #endif // SHARE_CDS_CDS_GLOBALS_HPP
|
133 "Load/link all archived classes for the boot/platform/app " \
134 "loaders before application main") \
135 \
136 product(bool, AOTCacheParallelRelocation, true, DIAGNOSTIC, \
137 "Use parallel relocation code to speed up startup.") \
138 \
139 /* flags to control training and deployment modes */ \
140 \
141 product(bool, AOTRecordTraining, false, DIAGNOSTIC, \
142 "Request output of training data for improved deployment.") \
143 \
144 product(bool, AOTReplayTraining, false, DIAGNOSTIC, \
145 "Read training data, if available, for use in this execution") \
146 \
147 product(bool, AOTPrintTrainingInfo, false, DIAGNOSTIC, \
148 "Print additional information about training") \
149 \
150 product(bool, AOTVerifyTrainingData, trueInDebug, DIAGNOSTIC, \
151 "Verify archived training data") \
152 \
153 product(bool, AOTCompileEagerly, true, DIAGNOSTIC, \
154 "Compile methods as soon as possible") \
155 \
156 product(bool, AOTRecordOptCompilationOrder, false, \
157 "Record c2/jvmci nmethod temperature to guide compilation order.")\
158 \
159 product(bool, AOTRecordOnlyTopCompilations, false, \
160 "Record only top compilations (non-zero counts)") \
161 \
162 product(int, AOTRecordOptCompilationOrderInterval, 10, \
163 "Sampling interval for RecordOptCompilationOrder") \
164 \
165 /* Recompilation flags */ \
166 \
167 product(int, AOTRecompilationLoadAverageThreshold, 5, \
168 "Queues load avergage after while recompilations are allowed") \
169 \
170 product(int, AOTRecompilationWorkUnitSize, 5, \
171 "Queues load avergage after while recompilations are allowed") \
172 \
173 product(bool, AOTRecompilation, false, \
174 "Recompile methods for peak performance") \
175 \
176 product(bool, AOTForceRecompilation, false, \
177 "Testing mode for recompilation") \
178 \
179 product(double, AOTDelayRecompilation, 0.0, \
180 "Delay recompilation for given number of seconds") \
181 \
182 /* AOT Code flags */ \
183 \
184 product(bool, AOTCodeCaching, false, DIAGNOSTIC, \
185 "Enable saving and restoring JIT comiled code in AOT cache") \
186 \
187 product(bool, AOTAdapterCaching, false, DIAGNOSTIC, \
188 "Enable saving and restoring i2c2i adapters in AOT cache") \
189 \
190 product(bool, AOTStubCaching, false, DIAGNOSTIC, \
191 "Enable saving and restoring stubs and code blobs in AOT cache") \
192 \
193 product(uint, AOTCodeMaxSize, 512*M, DIAGNOSTIC, \
194 "Buffer size in bytes for AOT code caching") \
195 range(1*M, max_jint) \
196 \
197 product(bool, AbortVMOnAOTCodeFailure, false, DIAGNOSTIC, \
198 "Abort VM on the first occurrence of AOT code load or store " \
199 "failure. By default VM will continue execute without AOT code.") \
200 \
201 develop(bool, TestAOTAdapterLinkFailure, false, \
202 "Test failure of adapter linking when loading from AOT cache.") \
203 \
204 product(bool, AOTCodeCPUFeatureCheck, true, DIAGNOSTIC, \
205 "Check CPU features during production run are compatible " \
206 "with the CPU features used during the assembly phase.") \
207 \
208 /*========== New options added by Leyden =============================*/ \
209 \
210 product(ccstrlist, AOTEndTrainingOnMethodEntry, "", \
211 "List of methods (pkg/class.name) to trigger end of AOT " \
212 "training run. Optional ',count=N' where N is > 0") \
213 \
214 product(ccstr, CacheOnlyClassesIn, nullptr, \
215 "If set, only classes loaded from these JAR files will be " \
216 "stored in the AOTCache") \
217 \
218 product(bool, ArchiveDynamicProxies, false, \
219 "Archive classes generated for java/lang/reflect/Proxy") \
220 \
221 product(bool, ArchiveLoaderLookupCache, false, \
222 "Archive app loader's positive and negative lookup cache") \
223 \
224 product(bool, ArchivePackages, false, \
225 "Archive the java.lang.ClassLoader::{packages,package2certs} " \
226 "tables") \
227 \
228 product(bool, ArchiveProtectionDomains, false, \
229 "Archive the java.security.SecureClassLoader::pdcache table") \
230 \
231 product(bool, ArchiveReflectionData, false, \
232 "Archive Class::reflectionData field") \
233 \
234 product(bool, SkipArchiveHeapVerification, false, \
235 "Skip verification of CDS archive heap") \
236
237 // end of CDS_FLAGS
238
239 DECLARE_FLAGS(CDS_FLAGS)
240
241 #endif // SHARE_CDS_CDS_GLOBALS_HPP
|