< prev index next > src/hotspot/share/cds/cds_globals.hpp
Print this page
"The path and name of the dynamic archive file") \
\
product(ccstr, ExtraSharedClassListFile, nullptr, \
"Extra classlist for building the CDS archive file") \
\
- product(int, ArchiveRelocationMode, 1, DIAGNOSTIC, \
+ /*FIXME - AOT code has direct pointers to metadata that's not relocated*/ \
+ product(int, ArchiveRelocationMode, 0, DIAGNOSTIC, \
"(0) first map at preferred address, and if " \
"unsuccessful, map at alternative address; " \
"(1) always map at alternative address (default); " \
"(2) always map at preferred address, and if unsuccessful, " \
"do not map the archive") \
range(0, 2) \
+ \
+ /*========== New "AOT" flags =========================================*/ \
+ /* These are aliases of -Xshare:dump, -XX:SharedArchiveFile=..., etc. */ \
+ /* See CDSConfig::check_flag_aliases(). */ \
+ \
+ product(ccstr, AOTMode, nullptr, \
+ "record/create/on") \
+ \
+ product(ccstr, AOTConfiguration, nullptr, \
+ "Configuration information used by CreateAOTCache") \
+ \
+ product(ccstr, AOTCache, nullptr, \
+ "AOT Cache for improving start up and warm up") \
+ \
+ \
+ /*========== New options added by Leyden =============================*/ \
+ \
+ product(ccstr, CacheDataStore, nullptr, \
+ "If valid, use the specified file for SharedArchiveFile; " \
+ "otherwise the specified file is generated at program exit") \
+ \
+ product(ccstr, CDSPreimage, nullptr, \
+ "(** internal use only **) -- used by a child JVM process to " \
+ "create the CacheDataStore final image") \
+ \
+ product(bool, CDSManualFinalImage, false, DIAGNOSTIC, \
+ "(** internal use only **) -- if false, automatically launch a " \
+ "child process to create the final image.") \
+ \
+ /* To be renamed to CDSLoadedClasses */ \
+ product(bool, PreloadSharedClasses, false, \
+ "Load all shared classes for the boot/platform/app loaders " \
+ "immediately at VM start-up") \
+ \
+ product(bool, PrelinkSharedClasses, true, \
+ "Link all shared classes for the boot/platform/app loaders " \
+ "immediately at VM start-up") \
+ \
+ product(bool, ArchiveDynamicProxies, false, \
+ "Archive classes generated for java/lang/reflect/Proxy") \
+ \
+ product(bool, ArchiveFieldReferences, true, \
+ "Archive resolved JVM_CONSTANT_Fieldref in ConstantPool") \
+ \
+ product(bool, ArchiveInvokeDynamic, false, \
+ "Archive resolved JVM_CONSTANT_InvokeDynamic in ConstantPool") \
+ \
+ product(bool, ArchiveLoaderLookupCache, false, \
+ "Archive app loader's positive and negative lookup cache") \
+ \
+ product(bool, ArchiveMethodReferences, true, \
+ "Archive resolved JVM_CONSTANT_Methodref and " \
+ "JVM_CONSTANT_InterfaceMethodref in ConstantPool") \
+ \
+ product(bool, ArchivePackages, false, \
+ "Archive the java.lang.ClassLoader::{packages,package2certs} " \
+ "tables") \
+ \
+ product(bool, ArchiveProtectionDomains, false, \
+ "Archive the java.security.SecureClassLoader::pdcache table") \
+ \
+ product(bool, ArchiveReflectionData, false, \
+ "Archive Class::reflectionData field") \
+ \
+ product(bool, TempDisableAddJVMCIModule, false, \
+ "Do not add jdk.internal.vm.ci module even for -XX:+EnableJVMCI") \
+ \
+ product(bool, UsePermanentHeapObjects, false, DIAGNOSTIC, \
+ "Allow AOT code to access permanent archived heap objects") \
+ \
+ product(bool, VerifyTrainingData, trueInDebug, DIAGNOSTIC, \
+ "Verify archived training data") \
+ \
+ product(bool, SkipArchiveHeapVerification, false, \
+ "Skip verification of CDS archive heap") \
+
// end of CDS_FLAGS
DECLARE_FLAGS(CDS_FLAGS)
#endif // SHARE_CDS_CDS_GLOBALS_HPP
< prev index next >