hotspot/src/share/vm/runtime/globals.hpp
changeset 37155 f00f299cb386
parent 36593 5ef494d5c3e8
parent 37151 bcda1fb89431
child 37166 8a5f1594e692
equal deleted inserted replaced
36593:5ef494d5c3e8 37155:f00f299cb386
   988           "Zap filler objects with 0xDEAFBABE")                             \
   988           "Zap filler objects with 0xDEAFBABE")                             \
   989                                                                             \
   989                                                                             \
   990   develop(bool, PrintVMMessages, true,                                      \
   990   develop(bool, PrintVMMessages, true,                                      \
   991           "Print VM messages on console")                                   \
   991           "Print VM messages on console")                                   \
   992                                                                             \
   992                                                                             \
   993   diagnostic(bool, VerboseVerification, false,                              \
       
   994           "Display detailed verification details")                          \
       
   995                                                                             \
       
   996   notproduct(uintx, ErrorHandlerTest, 0,                                    \
   993   notproduct(uintx, ErrorHandlerTest, 0,                                    \
   997           "If > 0, provokes an error after VM initialization; the value "   \
   994           "If > 0, provokes an error after VM initialization; the value "   \
   998           "determines which error to provoke. See test_error_handler() "    \
   995           "determines which error to provoke. See test_error_handler() "    \
   999           "in debug.cpp.")                                                  \
   996           "in debug.cpp.")                                                  \
  1000                                                                             \
   997                                                                             \
  1049                                                                             \
  1046                                                                             \
  1050   manageable(ccstr, HeapDumpPath, NULL,                                     \
  1047   manageable(ccstr, HeapDumpPath, NULL,                                     \
  1051           "When HeapDumpOnOutOfMemoryError is on, the path (filename or "   \
  1048           "When HeapDumpOnOutOfMemoryError is on, the path (filename or "   \
  1052           "directory) of the dump file (defaults to java_pid<pid>.hprof "   \
  1049           "directory) of the dump file (defaults to java_pid<pid>.hprof "   \
  1053           "in the working directory)")                                      \
  1050           "in the working directory)")                                      \
  1054                                                                             \
       
  1055   develop(size_t, HeapDumpSegmentSize, 1*G,                                 \
       
  1056           "Approximate segment size when generating a segmented heap dump") \
       
  1057                                                                             \
  1051                                                                             \
  1058   develop(bool, BreakAtWarning, false,                                      \
  1052   develop(bool, BreakAtWarning, false,                                      \
  1059           "Execute breakpoint upon encountering VM warning")                \
  1053           "Execute breakpoint upon encountering VM warning")                \
  1060                                                                             \
  1054                                                                             \
  1061   develop(bool, UseFakeTimers, false,                                       \
  1055   develop(bool, UseFakeTimers, false,                                       \
  1470           "Trace usage of IC buffer")                                       \
  1464           "Trace usage of IC buffer")                                       \
  1471                                                                             \
  1465                                                                             \
  1472   develop(bool, TraceCompiledIC, false,                                     \
  1466   develop(bool, TraceCompiledIC, false,                                     \
  1473           "Trace changes of compiled IC")                                   \
  1467           "Trace changes of compiled IC")                                   \
  1474                                                                             \
  1468                                                                             \
  1475   develop(bool, TraceClearedExceptions, false,                              \
       
  1476           "Print when an exception is forcibly cleared")                    \
       
  1477                                                                             \
       
  1478   /* gc */                                                                  \
  1469   /* gc */                                                                  \
  1479                                                                             \
  1470                                                                             \
  1480   product(bool, UseSerialGC, false,                                         \
  1471   product(bool, UseSerialGC, false,                                         \
  1481           "Use the Serial garbage collector")                               \
  1472           "Use the Serial garbage collector")                               \
  1482                                                                             \
  1473                                                                             \
  1902           "we plan to schedule remark")                                     \
  1893           "we plan to schedule remark")                                     \
  1903           range(1, max_uintx)                                               \
  1894           range(1, max_uintx)                                               \
  1904                                                                             \
  1895                                                                             \
  1905   product(uintx, CMSSamplingGrain, 16*K,                                    \
  1896   product(uintx, CMSSamplingGrain, 16*K,                                    \
  1906           "The minimum distance between eden samples for CMS (see above)")  \
  1897           "The minimum distance between eden samples for CMS (see above)")  \
  1907           range(1, max_uintx)                                               \
  1898           range(ObjectAlignmentInBytes, max_uintx)                          \
       
  1899           constraint(CMSSamplingGrainConstraintFunc,AfterMemoryInit)        \
  1908                                                                             \
  1900                                                                             \
  1909   product(bool, CMSScavengeBeforeRemark, false,                             \
  1901   product(bool, CMSScavengeBeforeRemark, false,                             \
  1910           "Attempt scavenge before the CMS remark step")                    \
  1902           "Attempt scavenge before the CMS remark step")                    \
  1911                                                                             \
  1903                                                                             \
  1912   product(uintx, CMSWorkQueueDrainThreshold, 10,                            \
  1904   product(uintx, CMSWorkQueueDrainThreshold, 10,                            \
  2065           "MetadataAllocationFailALotInterval")                             \
  2057           "MetadataAllocationFailALotInterval")                             \
  2066                                                                             \
  2058                                                                             \
  2067   develop(uintx, MetadataAllocationFailALotInterval, 1000,                  \
  2059   develop(uintx, MetadataAllocationFailALotInterval, 1000,                  \
  2068           "Metadata allocation failure a lot interval")                     \
  2060           "Metadata allocation failure a lot interval")                     \
  2069                                                                             \
  2061                                                                             \
  2070   develop(bool, TraceMetadataChunkAllocation, false,                        \
       
  2071           "Trace chunk metadata allocations")                               \
       
  2072                                                                             \
       
  2073   notproduct(bool, ExecuteInternalVMTests, false,                           \
  2062   notproduct(bool, ExecuteInternalVMTests, false,                           \
  2074           "Enable execution of internal VM tests")                          \
  2063           "Enable execution of internal VM tests")                          \
  2075                                                                             \
  2064                                                                             \
  2076   notproduct(bool, VerboseInternalVMTests, false,                           \
  2065   notproduct(bool, VerboseInternalVMTests, false,                           \
  2077           "Turn on logging for internal VM tests.")                         \
  2066           "Turn on logging for internal VM tests.")                         \
  2221                                                                             \
  2210                                                                             \
  2222   product(uintx, TenuredGenerationSizeSupplementDecay, 2,                   \
  2211   product(uintx, TenuredGenerationSizeSupplementDecay, 2,                   \
  2223           "Decay factor to TenuredGenerationSizeIncrement")                 \
  2212           "Decay factor to TenuredGenerationSizeIncrement")                 \
  2224           range(1, max_uintx)                                               \
  2213           range(1, max_uintx)                                               \
  2225                                                                             \
  2214                                                                             \
  2226   product(uintx, MaxGCPauseMillis, max_uintx,                               \
  2215   product(uintx, MaxGCPauseMillis, max_uintx - 1,                           \
  2227           "Adaptive size policy maximum GC pause time goal in millisecond, "\
  2216           "Adaptive size policy maximum GC pause time goal in millisecond, "\
  2228           "or (G1 Only) the maximum GC time per MMU time slice")            \
  2217           "or (G1 Only) the maximum GC time per MMU time slice")            \
  2229           range(1, max_uintx)                                               \
  2218           range(1, max_uintx - 1)                                           \
  2230           constraint(MaxGCPauseMillisConstraintFunc,AfterMemoryInit)        \
  2219           constraint(MaxGCPauseMillisConstraintFunc,AfterMemoryInit)        \
  2231                                                                             \
  2220                                                                             \
  2232   product(uintx, GCPauseIntervalMillis, 0,                                  \
  2221   product(uintx, GCPauseIntervalMillis, 0,                                  \
  2233           "Time slice for MMU specification")                               \
  2222           "Time slice for MMU specification")                               \
  2234           constraint(GCPauseIntervalMillisConstraintFunc,AfterMemoryInit)   \
  2223           constraint(GCPauseIntervalMillisConstraintFunc,AfterMemoryInit)   \
  2388           "Trace scavenge")                                                 \
  2377           "Trace scavenge")                                                 \
  2389                                                                             \
  2378                                                                             \
  2390   product(bool, IgnoreEmptyClassPaths, false,                               \
  2379   product(bool, IgnoreEmptyClassPaths, false,                               \
  2391           "Ignore empty path elements in -classpath")                       \
  2380           "Ignore empty path elements in -classpath")                       \
  2392                                                                             \
  2381                                                                             \
  2393   product(bool, TraceClassLoadingPreorder, false,                           \
       
  2394           "Trace all classes loaded in order referenced (not loaded)")      \
       
  2395                                                                             \
       
  2396   product_rw(bool, TraceLoaderConstraints, false,                           \
  2382   product_rw(bool, TraceLoaderConstraints, false,                           \
  2397           "Trace loader constraints")                                       \
  2383           "Trace loader constraints")                                       \
  2398                                                                             \
  2384                                                                             \
  2399   product(size_t, InitialBootClassLoaderMetaspaceSize,                      \
  2385   product(size_t, InitialBootClassLoaderMetaspaceSize,                      \
  2400           NOT_LP64(2200*K) LP64_ONLY(4*M),                                  \
  2386           NOT_LP64(2200*K) LP64_ONLY(4*M),                                  \
  2543           "Print safepoint statistics only when safepoint takes "           \
  2529           "Print safepoint statistics only when safepoint takes "           \
  2544           "more than PrintSafepointSatisticsTimeout in millis")             \
  2530           "more than PrintSafepointSatisticsTimeout in millis")             \
  2545   LP64_ONLY(range(-1, max_intx/MICROUNITS))                                 \
  2531   LP64_ONLY(range(-1, max_intx/MICROUNITS))                                 \
  2546   NOT_LP64(range(-1, max_intx))                                             \
  2532   NOT_LP64(range(-1, max_intx))                                             \
  2547                                                                             \
  2533                                                                             \
  2548   product(bool, TraceSafepointCleanupTime, false,                           \
       
  2549           "Print the break down of clean up tasks performed during "        \
       
  2550           "safepoint")                                                      \
       
  2551                                                                             \
       
  2552   product(bool, Inline, true,                                               \
  2534   product(bool, Inline, true,                                               \
  2553           "Enable inlining")                                                \
  2535           "Enable inlining")                                                \
  2554                                                                             \
  2536                                                                             \
  2555   product(bool, ClipInlining, true,                                         \
  2537   product(bool, ClipInlining, true,                                         \
  2556           "Clip inlining if aggregate method exceeds DesiredMethodLimit")   \
  2538           "Clip inlining if aggregate method exceeds DesiredMethodLimit")   \
  2778                                                                             \
  2760                                                                             \
  2779   notproduct(bool, ICMissHistogram, false,                                  \
  2761   notproduct(bool, ICMissHistogram, false,                                  \
  2780           "Produce histogram of IC misses")                                 \
  2762           "Produce histogram of IC misses")                                 \
  2781                                                                             \
  2763                                                                             \
  2782   /* interpreter */                                                         \
  2764   /* interpreter */                                                         \
  2783   develop(bool, ClearInterpreterLocals, false,                              \
       
  2784           "Always clear local variables of interpreter activations upon "   \
       
  2785           "entry")                                                          \
       
  2786                                                                             \
       
  2787   product_pd(bool, RewriteBytecodes,                                        \
  2765   product_pd(bool, RewriteBytecodes,                                        \
  2788           "Allow rewriting of bytecodes (bytecodes are not immutable)")     \
  2766           "Allow rewriting of bytecodes (bytecodes are not immutable)")     \
  2789                                                                             \
  2767                                                                             \
  2790   product_pd(bool, RewriteFrequentPairs,                                    \
  2768   product_pd(bool, RewriteFrequentPairs,                                    \
  2791           "Rewrite frequently used bytecode pairs into a single bytecode")  \
  2769           "Rewrite frequently used bytecode pairs into a single bytecode")  \
  3265           "Additional size added to desired new generation size per "       \
  3243           "Additional size added to desired new generation size per "       \
  3266           "non-daemon thread (in bytes)")                                   \
  3244           "non-daemon thread (in bytes)")                                   \
  3267           range(0, max_uintx)                                               \
  3245           range(0, max_uintx)                                               \
  3268                                                                             \
  3246                                                                             \
  3269   product_pd(size_t, MetaspaceSize,                                         \
  3247   product_pd(size_t, MetaspaceSize,                                         \
  3270           "Initial size of Metaspaces (in bytes)")                          \
  3248           "Initial threshold (in bytes) at which a garbage collection "     \
       
  3249           "is done to reduce Metaspace usage")                              \
  3271           constraint(MetaspaceSizeConstraintFunc,AfterErgo)                 \
  3250           constraint(MetaspaceSizeConstraintFunc,AfterErgo)                 \
  3272                                                                             \
  3251                                                                             \
  3273   product(size_t, MaxMetaspaceSize, max_uintx,                              \
  3252   product(size_t, MaxMetaspaceSize, max_uintx,                              \
  3274           "Maximum size of Metaspaces (in bytes)")                          \
  3253           "Maximum size of Metaspaces (in bytes)")                          \
  3275           constraint(MaxMetaspaceSizeConstraintFunc,AfterErgo)              \
  3254           constraint(MaxMetaspaceSizeConstraintFunc,AfterErgo)              \