< prev index next >

src/hotspot/share/cds/cds_globals.hpp

Print this page
@@ -74,29 +74,77 @@
                                                                              \
    product(ccstr, DumpLoadedClassList, nullptr,                              \
            "Dump the names all loaded classes, that could be stored into "   \
            "the CDS archive, in the specified file")                         \
                                                                              \
+   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.")                       \
+                                                                             \
    product(ccstr, SharedClassListFile, nullptr,                              \
-           "Override the default CDS class list")                            \
+           "Override the default CDS class list")  \
                                                                              \
    product(ccstr, SharedArchiveFile, nullptr,                                \
            "Override the default location of the CDS archive file")          \
                                                                              \
    product(ccstr, ArchiveClassesAtExit, nullptr,                             \
            "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)                                                      \
+                                                                             \
+   product(bool, PreloadSharedClasses, true,                                 \
+           "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, ArchiveMethodReferences, true,                              \
+           "Archive resolved JVM_CONSTANT_Methodref and "                    \
+           "JVM_CONSTANT_InterfaceMethodref in ConstantPool")                \
+                                                                             \
+   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, true, DIAGNOSTIC,                  \
+           "Allow AOT code to access permanent archived heap objects")       \
+                                                                             \
+   product(bool, ArchiveLoaderLookupCache, false,                            \
+           "Archive app loader's positive and negative lookup cache")        \
+ 
+ 
  // end of CDS_FLAGS
  
  DECLARE_FLAGS(CDS_FLAGS)
  
  #endif // SHARE_CDS_CDS_GLOBALS_HPP
< prev index next >