< 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                                                                             \
 98   /*========== New "AOT" flags =========================================*/  \
 99   /* The following 3 flags are aliases of -Xshare:dump,                 */  \
100   /* -XX:SharedArchiveFile=..., etc. See CDSConfig::check_flag_aliases()*/  \
101                                                                             \
102   product(ccstr, AOTMode, nullptr,                                          \
103           "Specifies how AOTCache should be created or used. Valid values " \
104           "are: off, record, create, auto, on; the default is auto")        \
105           constraint(AOTModeConstraintFunc, AtParse)                        \
106                                                                             \
107   product(ccstr, AOTConfiguration, nullptr,                                 \
108           "Configuration information used by CreateAOTCache")               \
109                                                                             \
110   product(ccstr, AOTCache, nullptr,                                         \
111           "Cache for improving start up and warm up")                       \
112                                                                             \
113   product(bool, AOTInvokeDynamicLinking, false, DIAGNOSTIC,                 \
114           "AOT-link JVM_CONSTANT_InvokeDynamic entries in cached "          \
115           "ConstantPools")                                                  \
116                                                                             \
117   product(bool, AOTClassLinking, false,                                     \
118           "Load/link all archived classes for the boot/platform/app "       \
119           "loaders before application main")                                \






















































120 
121 // end of CDS_FLAGS
122 
123 DECLARE_FLAGS(CDS_FLAGS)
124 
125 #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   /* The following 3 flags are aliases of -Xshare:dump,                 */  \
101   /* -XX:SharedArchiveFile=..., etc. See CDSConfig::check_flag_aliases()*/  \
102                                                                             \
103   product(ccstr, AOTMode, nullptr,                                          \
104           "Specifies how AOTCache should be created or used. Valid values " \
105           "are: off, record, create, auto, on; the default is auto")        \
106           constraint(AOTModeConstraintFunc, AtParse)                        \
107                                                                             \
108   product(ccstr, AOTConfiguration, nullptr,                                 \
109           "Configuration information used by CreateAOTCache")               \
110                                                                             \
111   product(ccstr, AOTCache, nullptr,                                         \
112           "Cache for improving start up and warm up")                       \
113                                                                             \
114   product(bool, AOTInvokeDynamicLinking, false, DIAGNOSTIC,                 \
115           "AOT-link JVM_CONSTANT_InvokeDynamic entries in cached "          \
116           "ConstantPools")                                                  \
117                                                                             \
118   product(bool, AOTClassLinking, false,                                     \
119           "Load/link all archived classes for the boot/platform/app "       \
120           "loaders before application main")                                \
121                                                                             \
122   product(ccstrlist, AOTEndTrainingOnMethodEntry, "",                       \
123           "List of methods (pkg/class.name) to trigger end of AOT "         \
124           "training run.  Optional ',count=N' where N is > 0")              \
125                                                                             \
126   /*========== New options added by Leyden =============================*/  \
127                                                                             \
128   product(ccstr, CacheOnlyClassesIn, nullptr,                               \
129           "If set, only classes loaded from these JAR files will be "       \
130           "stored in the AOTCache")                                         \
131                                                                             \
132   product(ccstr, CacheDataStore, nullptr,                                   \
133           "If valid, use the specified file for SharedArchiveFile; "        \
134           "otherwise the specified file is generated at program exit")      \
135                                                                             \
136   product(ccstr, CDSPreimage, nullptr,                                      \
137           "(** internal use only **) -- used by a child JVM process to "    \
138           "create the CacheDataStore final image")                          \
139                                                                             \
140   product(bool, CDSManualFinalImage, false, DIAGNOSTIC,                     \
141           "(** internal use only **) -- if false, automatically launch a "  \
142           "child process to create the final image.")                       \
143                                                                             \
144   product(bool, PrelinkSharedClasses, true,                                 \
145           "Link all shared classes for the boot/platform/app loaders "      \
146           "immediately at VM start-up")                                     \
147                                                                             \
148   product(bool, ArchiveDynamicProxies, false,                               \
149           "Archive classes generated for java/lang/reflect/Proxy")          \
150                                                                             \
151   product(bool, ArchiveLoaderLookupCache, false,                            \
152           "Archive app loader's positive and negative lookup cache")        \
153                                                                             \
154   product(bool, ArchivePackages, false,                                     \
155           "Archive the java.lang.ClassLoader::{packages,package2certs} "    \
156           "tables")                                                         \
157                                                                             \
158   product(bool, ArchiveProtectionDomains, false,                            \
159           "Archive the java.security.SecureClassLoader::pdcache table")     \
160                                                                             \
161   product(bool, ArchiveReflectionData, false,                               \
162           "Archive Class::reflectionData field")                            \
163                                                                             \
164   product(bool, TempDisableAddJVMCIModule, false,                           \
165           "Do not add jdk.internal.vm.ci module even for -XX:+EnableJVMCI") \
166                                                                             \
167   product(bool, UsePermanentHeapObjects, false, DIAGNOSTIC,                 \
168           "Allow AOT code to access permanent archived heap objects")       \
169                                                                             \
170   product(bool, VerifyTrainingData, trueInDebug, DIAGNOSTIC,                \
171           "Verify archived training data")                                  \
172                                                                             \
173   product(bool, SkipArchiveHeapVerification, false,                         \
174           "Skip verification of CDS archive heap")                          \
175 
176 // end of CDS_FLAGS
177 
178 DECLARE_FLAGS(CDS_FLAGS)
179 
180 #endif // SHARE_CDS_CDS_GLOBALS_HPP
< prev index next >