< prev index next >

src/hotspot/share/cds/cds_globals.hpp

Print this page
@@ -89,11 +89,12 @@
            "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")                                        \

@@ -114,10 +115,14 @@
            "for deciding what contents should be added to AOTCache. ")       \
                                                                              \
    product(ccstr, AOTCache, nullptr,                                         \
            "Cache for improving start up and warm up")                       \
                                                                              \
+   product(ccstr, AOTCacheOutput, nullptr,                                   \
+           "Write AOT cache into this file (overrides AOTCache when "        \
+           "writing)")                                                       \
+                                                                             \
    product(bool, AOTInvokeDynamicLinking, false, DIAGNOSTIC,                 \
            "AOT-link JVM_CONSTANT_InvokeDynamic entries in cached "          \
            "ConstantPools")                                                  \
                                                                              \
    product(bool, AOTClassLinking, false,                                     \

@@ -125,10 +130,95 @@
            "loaders before application main")                                \
                                                                              \
    product(bool, AOTCacheParallelRelocation, true, DIAGNOSTIC,               \
            "Use parallel relocation code to speed up startup.")              \
                                                                              \
+   /* flags to control training and deployment modes  */                     \
+                                                                             \
+   product(bool, AOTRecordTraining, false, DIAGNOSTIC,                       \
+           "Request output of training data for improved deployment.")       \
+                                                                             \
+   product(bool, AOTReplayTraining, false, DIAGNOSTIC,                       \
+           "Read training data, if available, for use in this execution")    \
+                                                                             \
+   product(bool, AOTPrintTrainingInfo, false, DIAGNOSTIC,                    \
+           "Print additional information about training")                    \
+                                                                             \
+   product(bool, AOTVerifyTrainingData, trueInDebug, DIAGNOSTIC,             \
+                   "Verify archived training data")                          \
+                                                                             \
+   product(bool, AOTRecordOptCompilationOrder, false,                        \
+           "Record c2/jvmci nmethod temperature to guide compilation order.")\
+                                                                             \
+   product(bool, AOTRecordOnlyTopCompilations, false,                        \
+           "Record only top compilations (non-zero counts)")                 \
+                                                                             \
+   product(int, AOTRecordOptCompilationOrderInterval, 10,                    \
+           "Sampling interval for RecordOptCompilationOrder")                \
+                                                                             \
+    /* Recompilation flags */                                                \
+                                                                             \
+    product(int, AOTRecompilationLoadAverageThreshold, 5,                    \
+            "Queues load avergage after while recompilations are allowed")   \
+                                                                             \
+    product(int, AOTRecompilationWorkUnitSize, 5,                            \
+            "Queues load avergage after while recompilations are allowed")   \
+                                                                             \
+    product(bool, AOTRecompilation, false,                                   \
+            "Recompile methods for peak performance")                        \
+                                                                             \
+    product(bool, AOTForceRecompilation, false,                              \
+            "Testing mode for recompilation")                                \
+                                                                             \
+    product(double, AOTDelayRecompilation, 0.0,                              \
+            "Delay recompilation for given number of seconds")               \
+                                                                             \
+   /*========== New options added by Leyden =============================*/  \
+                                                                             \
+   product(ccstrlist, AOTEndTrainingOnMethodEntry, "",                       \
+           "List of methods (pkg/class.name) to trigger end of AOT "         \
+           "training run.  Optional ',count=N' where N is > 0")              \
+                                                                             \
+   product(ccstr, CacheOnlyClassesIn, nullptr,                               \
+           "If set, only classes loaded from these JAR files will be "       \
+           "stored in the AOTCache")                                         \
+                                                                             \
+   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(bool, ArchiveDynamicProxies, false,                               \
+           "Archive classes generated for java/lang/reflect/Proxy")          \
+                                                                             \
+   product(bool, ArchiveLoaderLookupCache, false,                            \
+           "Archive app loader's positive and negative lookup cache")        \
+                                                                             \
+   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, SkipArchiveHeapVerification, false,                         \
+           "Skip verification of CDS archive heap")                          \
+                                                                             \
+   product(bool, ArchiveAdapters, false,                                     \
+           "Archive AdapterFingerPrint and AdapterHandlerEntry."             \
+           "Requires AOT code cache")                                        \
+ 
  // end of CDS_FLAGS
  
  DECLARE_FLAGS(CDS_FLAGS)
  
  #endif // SHARE_CDS_CDS_GLOBALS_HPP
< prev index next >