< prev index next >

src/hotspot/share/cds/cds_globals.hpp

Print this page

 70           "For JVM internal testing only. The static field named "          \
 71           "\"archivedObjects\" of the specified class is stored in the "    \
 72           "CDS archive heap")                                               \
 73                                                                             \
 74   product(ccstr, DumpLoadedClassList, nullptr,                              \
 75           "Dump the names all loaded classes, that could be stored into "   \
 76           "the CDS archive, in the specified file")                         \
 77                                                                             \
 78   product(ccstr, SharedClassListFile, nullptr,                              \
 79           "Override the default CDS class list")                            \
 80                                                                             \
 81   product(ccstr, SharedArchiveFile, nullptr,                                \
 82           "Override the default location of the CDS archive file")          \
 83                                                                             \
 84   product(ccstr, ArchiveClassesAtExit, nullptr,                             \
 85           "The path and name of the dynamic archive file")                  \
 86                                                                             \
 87   product(ccstr, ExtraSharedClassListFile, nullptr,                         \
 88           "Extra classlist for building the CDS archive file")              \
 89                                                                             \
 90   product(int, ArchiveRelocationMode, 1, DIAGNOSTIC,                        \

 91            "(0) first map at preferred address, and if "                    \
 92            "unsuccessful, map at alternative address; "                     \
 93            "(1) always map at alternative address (default); "              \
 94            "(2) always map at preferred address, and if unsuccessful, "     \
 95            "do not map the archive")                                        \
 96            range(0, 2)                                                      \












































































 97 // end of CDS_FLAGS
 98 
 99 DECLARE_FLAGS(CDS_FLAGS)
100 
101 #endif // SHARE_CDS_CDS_GLOBALS_HPP

 70           "For JVM internal testing only. The static field named "          \
 71           "\"archivedObjects\" of the specified class is stored in the "    \
 72           "CDS archive heap")                                               \
 73                                                                             \
 74   product(ccstr, DumpLoadedClassList, nullptr,                              \
 75           "Dump the names all loaded classes, that could be stored into "   \
 76           "the CDS archive, in the specified file")                         \
 77                                                                             \
 78   product(ccstr, SharedClassListFile, nullptr,                              \
 79           "Override the default CDS class list")                            \
 80                                                                             \
 81   product(ccstr, SharedArchiveFile, nullptr,                                \
 82           "Override the default location of the CDS archive file")          \
 83                                                                             \
 84   product(ccstr, ArchiveClassesAtExit, nullptr,                             \
 85           "The path and name of the dynamic archive file")                  \
 86                                                                             \
 87   product(ccstr, ExtraSharedClassListFile, nullptr,                         \
 88           "Extra classlist for building the CDS archive file")              \
 89                                                                             \
 90   /*FIXME - AOT code has direct pointers to metadata that's not relocated*/ \
 91   product(int, ArchiveRelocationMode, 0, DIAGNOSTIC,                        \
 92            "(0) first map at preferred address, and if "                    \
 93            "unsuccessful, map at alternative address; "                     \
 94            "(1) always map at alternative address (default); "              \
 95            "(2) always map at preferred address, and if unsuccessful, "     \
 96            "do not map the archive")                                        \
 97            range(0, 2)                                                      \
 98                                                                             \
 99   /*========== New "AOT" flags =========================================*/  \
100   /* These are aliases of -Xshare:dump, -XX:SharedArchiveFile=..., etc. */  \
101   /* See CDSConfig::check_flag_aliases().                               */  \
102                                                                             \
103   product(ccstr, AOTMode, nullptr,                                          \
104           "record/create/on")                                               \
105                                                                             \
106   product(ccstr, AOTConfiguration, nullptr,                                 \
107           "Configuration information used by CreateAOTCache")               \
108                                                                             \
109   product(ccstr, AOTCache, nullptr,                                         \
110           "AOT Cache for improving start up and warm up")                   \
111                                                                             \
112                                                                             \
113   /*========== New options added by Leyden =============================*/  \
114                                                                             \
115   product(ccstr, CacheDataStore, nullptr,                                   \
116           "If valid, use the specified file for SharedArchiveFile; "        \
117           "otherwise the specified file is generated at program exit")      \
118                                                                             \
119   product(ccstr, CDSPreimage, nullptr,                                      \
120           "(** internal use only **) -- used by a child JVM process to "    \
121           "create the CacheDataStore final image")                          \
122                                                                             \
123   product(bool, CDSManualFinalImage, false, DIAGNOSTIC,                     \
124           "(** internal use only **) -- if false, automatically launch a "  \
125           "child process to create the final image.")                       \
126                                                                             \
127   /* To be renamed to CDSLoadedClasses */                                   \
128   product(bool, PreloadSharedClasses, false,                                \
129           "Load all shared classes for the boot/platform/app loaders "      \
130           "immediately at VM start-up")                                     \
131                                                                             \
132   product(bool, PrelinkSharedClasses, true,                                 \
133           "Link all shared classes for the boot/platform/app loaders "      \
134           "immediately at VM start-up")                                     \
135                                                                             \
136   product(bool, ArchiveDynamicProxies, false,                               \
137           "Archive classes generated for java/lang/reflect/Proxy")          \
138                                                                             \
139   product(bool, ArchiveFieldReferences, true,                               \
140           "Archive resolved JVM_CONSTANT_Fieldref in ConstantPool")         \
141                                                                             \
142   product(bool, ArchiveInvokeDynamic, false,                                \
143           "Archive resolved JVM_CONSTANT_InvokeDynamic in ConstantPool")    \
144                                                                             \
145   product(bool, ArchiveLoaderLookupCache, false,                            \
146           "Archive app loader's positive and negative lookup cache")        \
147                                                                             \
148   product(bool, ArchiveMethodReferences, true,                              \
149           "Archive resolved JVM_CONSTANT_Methodref and "                    \
150           "JVM_CONSTANT_InterfaceMethodref in ConstantPool")                \
151                                                                             \
152   product(bool, ArchivePackages, false,                                     \
153           "Archive the java.lang.ClassLoader::{packages,package2certs} "    \
154           "tables")                                                         \
155                                                                             \
156   product(bool, ArchiveProtectionDomains, false,                            \
157           "Archive the java.security.SecureClassLoader::pdcache table")     \
158                                                                             \
159   product(bool, ArchiveReflectionData, false,                               \
160           "Archive Class::reflectionData field")                            \
161                                                                             \
162   product(bool, TempDisableAddJVMCIModule, false,                           \
163           "Do not add jdk.internal.vm.ci module even for -XX:+EnableJVMCI") \
164                                                                             \
165   product(bool, UsePermanentHeapObjects, false, DIAGNOSTIC,                 \
166           "Allow AOT code to access permanent archived heap objects")       \
167                                                                             \
168   product(bool, VerifyTrainingData, trueInDebug, DIAGNOSTIC,                \
169           "Verify archived training data")                                  \
170                                                                             \
171   product(bool, SkipArchiveHeapVerification, false,                         \
172           "Skip verification of CDS archive heap")                          \
173 
174 // end of CDS_FLAGS
175 
176 DECLARE_FLAGS(CDS_FLAGS)
177 
178 #endif // SHARE_CDS_CDS_GLOBALS_HPP
< prev index next >