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