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