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