< prev index next >

src/hotspot/share/runtime/globals.hpp

Print this page

 111 const size_t minimumStringTableSize = 128;
 112 const size_t defaultSymbolTableSize = 32768; // 2^15
 113 const size_t minimumSymbolTableSize = 1024;
 114 
 115 #ifdef _LP64
 116 #define LP64_RUNTIME_FLAGS(develop,                                         \
 117                            develop_pd,                                      \
 118                            product,                                         \
 119                            product_pd,                                      \
 120                            range,                                           \
 121                            constraint)                                      \
 122                                                                             \
 123   product(bool, UseCompressedOops, false,                                   \
 124           "Use 32-bit object references in 64-bit VM. "                     \
 125           "lp64_product means flag is always constant in 32 bit VM")        \
 126                                                                             \
 127   product(bool, UseCompressedClassPointers, true,                           \
 128           "Use 32-bit class pointers in 64-bit VM. "                        \
 129           "lp64_product means flag is always constant in 32 bit VM")        \
 130                                                                             \





 131   product(int, ObjectAlignmentInBytes, 8,                                   \
 132           "Default object alignment in bytes, 8 is minimum")                \
 133           range(8, 256)                                                     \
 134           constraint(ObjectAlignmentInBytesConstraintFunc, AtParse)
 135 
 136 #else
 137 // !_LP64
 138 
 139 #define LP64_RUNTIME_FLAGS(develop,                                         \
 140                            develop_pd,                                      \
 141                            product,                                         \
 142                            product_pd,                                      \
 143                            range,                                           \
 144                            constraint)
 145 const bool UseCompressedOops = false;
 146 const bool UseCompressedClassPointers = false;
 147 const int ObjectAlignmentInBytes = 8;
 148 
 149 #endif // _LP64
 150 

 998           "Print all VM flags after argument and ergonomic processing")     \
 999                                                                             \
1000   develop(bool, PrintFlagsWithComments, false,                              \
1001           "Print all VM flags with default values and descriptions and "    \
1002           "exit")                                                           \
1003                                                                             \
1004   product(bool, PrintFlagsRanges, false,                                    \
1005           "Print VM flags and their ranges")                                \
1006                                                                             \
1007   product(bool, SerializeVMOutput, true, DIAGNOSTIC,                        \
1008           "Use a mutex to serialize output to tty and LogFile")             \
1009                                                                             \
1010   product(bool, DisplayVMOutput, true, DIAGNOSTIC,                          \
1011           "Display all VM output on the tty, independently of LogVMOutput") \
1012                                                                             \
1013   product(bool, LogVMOutput, false, DIAGNOSTIC,                             \
1014           "Save VM output to LogFile")                                      \
1015                                                                             \
1016   product(ccstr, LogFile, nullptr, DIAGNOSTIC,                              \
1017           "If LogVMOutput or LogCompilation is on, save VM output to "      \
1018           "this file [default: ./hotspot_pid%p.log] (%p replaced with pid)")\
1019                                                                             \
1020   product(ccstr, ErrorFile, nullptr,                                        \
1021           "If an error occurs, save the error data to this file "           \
1022           "[default: ./hs_err_pid%p.log] (%p replaced with pid)")           \
1023                                                                             \
1024   product(bool, ExtensiveErrorReports,                                      \
1025           PRODUCT_ONLY(false) NOT_PRODUCT(true),                            \
1026           "Error reports are more extensive.")                              \
1027                                                                             \
1028   product(bool, DisplayVMOutputToStderr, false,                             \
1029           "If DisplayVMOutput is true, display all VM output to stderr")    \
1030                                                                             \
1031   product(bool, DisplayVMOutputToStdout, false,                             \
1032           "If DisplayVMOutput is true, display all VM output to stdout")    \
1033                                                                             \
1034   product(bool, ErrorFileToStderr, false,                                   \
1035           "If true, error data is printed to stderr instead of a file")     \
1036                                                                             \
1037   product(bool, ErrorFileToStdout, false,                                   \
1038           "If true, error data is printed to stdout instead of a file")     \
1039                                                                             \
1040   develop(bool, VerifyHeavyMonitors, false,                                 \
1041           "Checks that no stack locking happens when using "                \
1042           "-XX:LockingMode=0 (LM_MONITOR)")                                 \

1122   product(bool, UseInterpreter, true,                                       \
1123           "Use interpreter for non-compiled methods")                       \
1124                                                                             \
1125   develop(bool, UseFastSignatureHandlers, true,                             \
1126           "Use fast signature handlers for native calls")                   \
1127                                                                             \
1128   product(bool, UseLoopCounter, true,                                       \
1129           "Increment invocation counter on backward branch")                \
1130                                                                             \
1131   product_pd(bool, UseOnStackReplacement,                                   \
1132           "Use on stack replacement, calls runtime if invoc. counter "      \
1133           "overflows in loop")                                              \
1134                                                                             \
1135   develop(bool, TraceOnStackReplacement, false,                             \
1136           "Trace on stack replacement")                                     \
1137                                                                             \
1138   product_pd(bool, PreferInterpreterNativeStubs,                            \
1139           "Use always interpreter stubs for native methods invoked via "    \
1140           "interpreter")                                                    \
1141                                                                             \
1142   develop(bool, CountBytecodes, false,                                      \
1143           "Count number of bytecodes executed")                             \
1144                                                                             \
1145   develop(bool, PrintBytecodeHistogram, false,                              \



1146           "Print histogram of the executed bytecodes")                      \
1147                                                                             \




1148   develop(bool, PrintBytecodePairHistogram, false,                          \
1149           "Print histogram of the executed bytecode pairs")                 \
1150                                                                             \
1151   product(bool, PrintSignatureHandlers, false, DIAGNOSTIC,                  \
1152           "Print code generated for native method signature handlers")      \
1153                                                                             \
1154   develop(bool, VerifyOops, false,                                          \
1155           "Do plausibility checks for oops")                                \
1156                                                                             \
1157   develop(bool, CheckUnhandledOops, false,                                  \
1158           "Check for unhandled oops in VM code")                            \
1159                                                                             \
1160   develop(bool, VerifyJNIFields, trueInDebug,                               \
1161           "Verify jfieldIDs for instance fields")                           \
1162                                                                             \
1163   develop(bool, VerifyFPU, false,                                           \
1164           "Verify FPU state (check for NaN's, etc.)")                       \
1165                                                                             \
1166   develop(bool, VerifyActivationFrameSize, false,                           \
1167           "Verify that activation frame didn't become smaller than its "    \
1168           "minimal size")                                                   \
1169                                                                             \
1170   develop(bool, TraceFrequencyInlining, false,                              \
1171           "Trace frequency based inlining")                                 \
1172                                                                             \
1173   develop_pd(bool, InlineIntrinsics,                                        \
1174           "Use intrinsics in Interpreter that can be statically resolved")  \
1175                                                                             \
1176   product_pd(bool, ProfileInterpreter,                                      \
1177           "Profile at the bytecode level during interpretation")            \
1178                                                                             \
1179   develop_pd(bool, ProfileTraps,                                            \
1180           "Profile deoptimization traps at the bytecode level")             \
1181                                                                             \
1182   product(intx, ProfileMaturityPercentage, 20,                              \
1183           "number of method invocations/branches (expressed as % of "       \
1184           "CompileThreshold) before using the method's profile")            \
1185           range(0, 100)                                                     \
1186                                                                             \



1187   product(bool, PrintMethodData, false, DIAGNOSTIC,                         \
1188           "Print the results of +ProfileInterpreter at end of run")         \
1189                                                                             \
1190   develop(bool, VerifyDataPointer, trueInDebug,                             \
1191           "Verify the method data pointer during interpreter profiling")    \
1192                                                                             \
1193   develop(bool, CrashGCForDumpingJavaThread, false,                         \
1194           "Manually make GC thread crash then dump java stack trace;  "     \
1195           "Test only")                                                      \
1196                                                                             \
1197   /* compilation */                                                         \
1198   product(bool, UseCompiler, true,                                          \
1199           "Use Just-In-Time compilation")                                   \
1200                                                                             \
1201   product(bool, AlwaysCompileLoopMethods, false,                            \
1202           "When using recompilation, never interpret methods "              \
1203           "containing loops")                                               \
1204                                                                             \
1205   product(int,  AllocatePrefetchStyle, 1,                                   \
1206           "0 = no prefetch, "                                               \

1704   product(bool, UsePerfData, true,                                          \
1705           "Flag to disable jvmstat instrumentation for performance testing "\
1706           "and problem isolation purposes")                                 \
1707                                                                             \
1708   product(bool, PerfDataSaveToFile, false,                                  \
1709           "Save PerfData memory to hsperfdata_<pid> file on exit")          \
1710                                                                             \
1711   product(ccstr, PerfDataSaveFile, nullptr,                                 \
1712           "Save PerfData memory to the specified absolute pathname. "       \
1713           "The string %p in the file name (if present) "                    \
1714           "will be replaced by pid")                                        \
1715                                                                             \
1716   product(int, PerfDataSamplingInterval, 50,                                \
1717           "Data sampling interval (in milliseconds)")                       \
1718           range(PeriodicTask::min_interval, max_jint)                       \
1719           constraint(PerfDataSamplingIntervalFunc, AfterErgo)               \
1720                                                                             \
1721   product(bool, PerfDisableSharedMem, false,                                \
1722           "Store performance data in standard memory")                      \
1723                                                                             \
1724   product(int, PerfDataMemorySize, 32*K,                                    \
1725           "Size of performance data memory region. Will be rounded "        \
1726           "up to a multiple of the native os page size.")                   \
1727           range(128, 32*64*K)                                               \
1728                                                                             \
1729   product(int, PerfMaxStringConstLength, 1024,                              \
1730           "Maximum PerfStringConstant string length before truncation")     \
1731           range(32, 32*K)                                                   \
1732                                                                             \
1733   product(bool, PerfAllowAtExitRegistration, false,                         \
1734           "Allow registration of atexit() methods")                         \
1735                                                                             \
1736   product(bool, PerfBypassFileSystemCheck, false,                           \
1737           "Bypass Win32 file system criteria checks (Windows Only)")        \
1738                                                                             \
1739   product(int, UnguardOnExecutionViolation, 0,                              \
1740           "Unguard page and retry on no-execute fault (Win32 only) "        \
1741           "0=off, 1=conservative, 2=aggressive")                            \
1742           range(0, 2)                                                       \
1743                                                                             \
1744   /* Serviceability Support */                                              \

1951           range(0, 2)                                                       \
1952                                                                             \
1953   product(bool, UseObjectMonitorTable, false, DIAGNOSTIC,                   \
1954           "With Lightweight Locking mode, use a table to record inflated "  \
1955           "monitors rather than the first word of the object.")             \
1956                                                                             \
1957   product(int, LightweightFastLockingSpins, 13, DIAGNOSTIC,                 \
1958           "Specifies the number of times lightweight fast locking will "    \
1959           "attempt to CAS the markWord before inflating. Between each "     \
1960           "CAS it will spin for exponentially more time, resulting in "     \
1961           "a total number of spins on the order of O(2^value)")             \
1962           range(1, 30)                                                      \
1963                                                                             \
1964   product(uint, TrimNativeHeapInterval, 0,                                  \
1965           "Interval, in ms, at which the JVM will trim the native heap if " \
1966           "the platform supports that. Lower values will reclaim memory "   \
1967           "more eagerly at the cost of higher overhead. A value of 0 "      \
1968           "(default) disables native heap trimming.")                       \
1969           range(0, UINT_MAX)                                                \
1970                                                                             \












1971   develop(bool, SimulateFullAddressSpace, false,                            \
1972           "Simulates a very populated, fragmented address space; no "       \
1973           "targeted reservations will succeed.")                            \
1974                                                                             \
1975   product(bool, ProfileExceptionHandlers, true,                             \
1976           "Profile exception handlers")                                     \
1977                                                                             \
1978   product(bool, AlwaysRecordEvolDependencies, true, EXPERIMENTAL,           \
1979                 "Unconditionally record nmethod dependencies on class "     \
1980                 "rewriting/transformation independently of the JVMTI "      \
1981                 "can_{retransform/redefine}_classes capabilities.")         \
1982                                                                             \



1983   product(bool, UseSecondarySupersCache, true, DIAGNOSTIC,                  \
1984                 "Use secondary supers cache during subtype checks.")        \
1985                                                                             \
1986   product(bool, UseSecondarySupersTable, false, DIAGNOSTIC,                 \
1987                 "Use hash table to lookup secondary supers.")               \
1988                                                                             \
1989   product(bool, VerifySecondarySupers, false, DIAGNOSTIC,                   \
1990           "Check that linear and hashed secondary lookups return the same result.") \
1991                                                                             \
1992   product(bool, StressSecondarySupers, false, DIAGNOSTIC,                   \
1993           "Use a terrible hash function in order to generate many collisions.") \
1994 

1995 // end of RUNTIME_FLAGS
1996 
1997 DECLARE_FLAGS(LP64_RUNTIME_FLAGS)
1998 DECLARE_ARCH_FLAGS(ARCH_FLAGS)
1999 DECLARE_FLAGS(RUNTIME_FLAGS)
2000 DECLARE_FLAGS(RUNTIME_OS_FLAGS)
2001 
2002 #endif // SHARE_RUNTIME_GLOBALS_HPP

 111 const size_t minimumStringTableSize = 128;
 112 const size_t defaultSymbolTableSize = 32768; // 2^15
 113 const size_t minimumSymbolTableSize = 1024;
 114 
 115 #ifdef _LP64
 116 #define LP64_RUNTIME_FLAGS(develop,                                         \
 117                            develop_pd,                                      \
 118                            product,                                         \
 119                            product_pd,                                      \
 120                            range,                                           \
 121                            constraint)                                      \
 122                                                                             \
 123   product(bool, UseCompressedOops, false,                                   \
 124           "Use 32-bit object references in 64-bit VM. "                     \
 125           "lp64_product means flag is always constant in 32 bit VM")        \
 126                                                                             \
 127   product(bool, UseCompressedClassPointers, true,                           \
 128           "Use 32-bit class pointers in 64-bit VM. "                        \
 129           "lp64_product means flag is always constant in 32 bit VM")        \
 130                                                                             \
 131   /* Leyden */                                                              \
 132   product(bool, UseCompatibleCompressedOops, false,                         \
 133           "Always use HeapBasedNarrowOop mode, so that AOT code can be "    \
 134           "always work regardless of runtime heap range")                   \
 135                                                                             \
 136   product(int, ObjectAlignmentInBytes, 8,                                   \
 137           "Default object alignment in bytes, 8 is minimum")                \
 138           range(8, 256)                                                     \
 139           constraint(ObjectAlignmentInBytesConstraintFunc, AtParse)
 140 
 141 #else
 142 // !_LP64
 143 
 144 #define LP64_RUNTIME_FLAGS(develop,                                         \
 145                            develop_pd,                                      \
 146                            product,                                         \
 147                            product_pd,                                      \
 148                            range,                                           \
 149                            constraint)
 150 const bool UseCompressedOops = false;
 151 const bool UseCompressedClassPointers = false;
 152 const int ObjectAlignmentInBytes = 8;
 153 
 154 #endif // _LP64
 155 

1003           "Print all VM flags after argument and ergonomic processing")     \
1004                                                                             \
1005   develop(bool, PrintFlagsWithComments, false,                              \
1006           "Print all VM flags with default values and descriptions and "    \
1007           "exit")                                                           \
1008                                                                             \
1009   product(bool, PrintFlagsRanges, false,                                    \
1010           "Print VM flags and their ranges")                                \
1011                                                                             \
1012   product(bool, SerializeVMOutput, true, DIAGNOSTIC,                        \
1013           "Use a mutex to serialize output to tty and LogFile")             \
1014                                                                             \
1015   product(bool, DisplayVMOutput, true, DIAGNOSTIC,                          \
1016           "Display all VM output on the tty, independently of LogVMOutput") \
1017                                                                             \
1018   product(bool, LogVMOutput, false, DIAGNOSTIC,                             \
1019           "Save VM output to LogFile")                                      \
1020                                                                             \
1021   product(ccstr, LogFile, nullptr, DIAGNOSTIC,                              \
1022           "If LogVMOutput or LogCompilation is on, save VM output to "      \
1023           "this file [default: ./hotspot_%p.log] (%p replaced with pidNNN)")\
1024                                                                             \
1025   product(ccstr, ErrorFile, nullptr,                                        \
1026           "If an error occurs, save the error data to this file "           \
1027           "[default: ./hs_err_%p.log] (%p replaced with pidNNN)")           \
1028                                                                             \
1029   product(bool, ExtensiveErrorReports,                                      \
1030           PRODUCT_ONLY(false) NOT_PRODUCT(true),                            \
1031           "Error reports are more extensive.")                              \
1032                                                                             \
1033   product(bool, DisplayVMOutputToStderr, false,                             \
1034           "If DisplayVMOutput is true, display all VM output to stderr")    \
1035                                                                             \
1036   product(bool, DisplayVMOutputToStdout, false,                             \
1037           "If DisplayVMOutput is true, display all VM output to stdout")    \
1038                                                                             \
1039   product(bool, ErrorFileToStderr, false,                                   \
1040           "If true, error data is printed to stderr instead of a file")     \
1041                                                                             \
1042   product(bool, ErrorFileToStdout, false,                                   \
1043           "If true, error data is printed to stdout instead of a file")     \
1044                                                                             \
1045   develop(bool, VerifyHeavyMonitors, false,                                 \
1046           "Checks that no stack locking happens when using "                \
1047           "-XX:LockingMode=0 (LM_MONITOR)")                                 \

1127   product(bool, UseInterpreter, true,                                       \
1128           "Use interpreter for non-compiled methods")                       \
1129                                                                             \
1130   develop(bool, UseFastSignatureHandlers, true,                             \
1131           "Use fast signature handlers for native calls")                   \
1132                                                                             \
1133   product(bool, UseLoopCounter, true,                                       \
1134           "Increment invocation counter on backward branch")                \
1135                                                                             \
1136   product_pd(bool, UseOnStackReplacement,                                   \
1137           "Use on stack replacement, calls runtime if invoc. counter "      \
1138           "overflows in loop")                                              \
1139                                                                             \
1140   develop(bool, TraceOnStackReplacement, false,                             \
1141           "Trace on stack replacement")                                     \
1142                                                                             \
1143   product_pd(bool, PreferInterpreterNativeStubs,                            \
1144           "Use always interpreter stubs for native methods invoked via "    \
1145           "interpreter")                                                    \
1146                                                                             \
1147   product(bool, CountBytecodes, false, DIAGNOSTIC,                          \
1148           "Count number of bytecodes executed")                             \
1149                                                                             \
1150   product(bool, CountBytecodesPerThread, false, DIAGNOSTIC,                 \
1151           "Count number of bytecodes executed per thread")                  \
1152                                                                             \
1153   product(bool, PrintBytecodeHistogram, false, DIAGNOSTIC,                  \
1154           "Print histogram of the executed bytecodes")                      \
1155                                                                             \
1156   product(double, PrintBytecodeHistogramCutoff, 0.01,                       \
1157           "Print cutoff for histogram of the executed bytecodes")           \
1158           range(0.0, 100.0)                                                 \
1159                                                                             \
1160   develop(bool, PrintBytecodePairHistogram, false,                          \
1161           "Print histogram of the executed bytecode pairs")                 \
1162                                                                             \
1163   product(bool, PrintSignatureHandlers, false, DIAGNOSTIC,                  \
1164           "Print code generated for native method signature handlers")      \
1165                                                                             \
1166   develop(bool, VerifyOops, false,                                          \
1167           "Do plausibility checks for oops")                                \
1168                                                                             \
1169   develop(bool, CheckUnhandledOops, false,                                  \
1170           "Check for unhandled oops in VM code")                            \
1171                                                                             \
1172   develop(bool, VerifyJNIFields, trueInDebug,                               \
1173           "Verify jfieldIDs for instance fields")                           \
1174                                                                             \
1175   develop(bool, VerifyFPU, false,                                           \
1176           "Verify FPU state (check for NaN's, etc.)")                       \
1177                                                                             \
1178   develop(bool, VerifyActivationFrameSize, false,                           \
1179           "Verify that activation frame didn't become smaller than its "    \
1180           "minimal size")                                                   \
1181                                                                             \
1182   develop(bool, TraceFrequencyInlining, false,                              \
1183           "Trace frequency based inlining")                                 \
1184                                                                             \
1185   develop_pd(bool, InlineIntrinsics,                                        \
1186           "Use intrinsics in Interpreter that can be statically resolved")  \
1187                                                                             \
1188   product_pd(bool, ProfileInterpreter,                                      \
1189           "Profile at the bytecode level during interpretation")            \
1190                                                                             \
1191   develop_pd(bool, ProfileTraps,                                            \
1192           "Profile deoptimization traps at the bytecode level")             \
1193                                                                             \
1194   product(intx, ProfileMaturityPercentage, 20,                              \
1195           "number of method invocations/branches (expressed as % of "       \
1196           "CompileThreshold) before using the method's profile")            \
1197           range(0, 100)                                                     \
1198                                                                             \
1199   product(bool, ForceProfiling, false, DIAGNOSTIC,                          \
1200           "Eagerly allocate MDOs")                                          \
1201                                                                             \
1202   product(bool, PrintMethodData, false, DIAGNOSTIC,                         \
1203           "Print the results of +ProfileInterpreter at end of run")         \
1204                                                                             \
1205   develop(bool, VerifyDataPointer, trueInDebug,                             \
1206           "Verify the method data pointer during interpreter profiling")    \
1207                                                                             \
1208   develop(bool, CrashGCForDumpingJavaThread, false,                         \
1209           "Manually make GC thread crash then dump java stack trace;  "     \
1210           "Test only")                                                      \
1211                                                                             \
1212   /* compilation */                                                         \
1213   product(bool, UseCompiler, true,                                          \
1214           "Use Just-In-Time compilation")                                   \
1215                                                                             \
1216   product(bool, AlwaysCompileLoopMethods, false,                            \
1217           "When using recompilation, never interpret methods "              \
1218           "containing loops")                                               \
1219                                                                             \
1220   product(int,  AllocatePrefetchStyle, 1,                                   \
1221           "0 = no prefetch, "                                               \

1719   product(bool, UsePerfData, true,                                          \
1720           "Flag to disable jvmstat instrumentation for performance testing "\
1721           "and problem isolation purposes")                                 \
1722                                                                             \
1723   product(bool, PerfDataSaveToFile, false,                                  \
1724           "Save PerfData memory to hsperfdata_<pid> file on exit")          \
1725                                                                             \
1726   product(ccstr, PerfDataSaveFile, nullptr,                                 \
1727           "Save PerfData memory to the specified absolute pathname. "       \
1728           "The string %p in the file name (if present) "                    \
1729           "will be replaced by pid")                                        \
1730                                                                             \
1731   product(int, PerfDataSamplingInterval, 50,                                \
1732           "Data sampling interval (in milliseconds)")                       \
1733           range(PeriodicTask::min_interval, max_jint)                       \
1734           constraint(PerfDataSamplingIntervalFunc, AfterErgo)               \
1735                                                                             \
1736   product(bool, PerfDisableSharedMem, false,                                \
1737           "Store performance data in standard memory")                      \
1738                                                                             \
1739   product(int, PerfDataMemorySize, 64*K,                                    \
1740           "Size of performance data memory region. Will be rounded "        \
1741           "up to a multiple of the native os page size.")                   \
1742           range(128, 32*64*K)                                               \
1743                                                                             \
1744   product(int, PerfMaxStringConstLength, 1024,                              \
1745           "Maximum PerfStringConstant string length before truncation")     \
1746           range(32, 32*K)                                                   \
1747                                                                             \
1748   product(bool, PerfAllowAtExitRegistration, false,                         \
1749           "Allow registration of atexit() methods")                         \
1750                                                                             \
1751   product(bool, PerfBypassFileSystemCheck, false,                           \
1752           "Bypass Win32 file system criteria checks (Windows Only)")        \
1753                                                                             \
1754   product(int, UnguardOnExecutionViolation, 0,                              \
1755           "Unguard page and retry on no-execute fault (Win32 only) "        \
1756           "0=off, 1=conservative, 2=aggressive")                            \
1757           range(0, 2)                                                       \
1758                                                                             \
1759   /* Serviceability Support */                                              \

1966           range(0, 2)                                                       \
1967                                                                             \
1968   product(bool, UseObjectMonitorTable, false, DIAGNOSTIC,                   \
1969           "With Lightweight Locking mode, use a table to record inflated "  \
1970           "monitors rather than the first word of the object.")             \
1971                                                                             \
1972   product(int, LightweightFastLockingSpins, 13, DIAGNOSTIC,                 \
1973           "Specifies the number of times lightweight fast locking will "    \
1974           "attempt to CAS the markWord before inflating. Between each "     \
1975           "CAS it will spin for exponentially more time, resulting in "     \
1976           "a total number of spins on the order of O(2^value)")             \
1977           range(1, 30)                                                      \
1978                                                                             \
1979   product(uint, TrimNativeHeapInterval, 0,                                  \
1980           "Interval, in ms, at which the JVM will trim the native heap if " \
1981           "the platform supports that. Lower values will reclaim memory "   \
1982           "more eagerly at the cost of higher overhead. A value of 0 "      \
1983           "(default) disables native heap trimming.")                       \
1984           range(0, UINT_MAX)                                                \
1985                                                                             \
1986   product(bool, ProfileVMLocks, false, DIAGNOSTIC,                          \
1987           "Profile VM locks usage on main thread")                          \
1988                                                                             \
1989   product(bool, ProfileVMCalls, false, DIAGNOSTIC,                          \
1990           "Profile VM calls on main thread")                                \
1991                                                                             \
1992   product(bool, ProfileVMOps, true, DIAGNOSTIC,                             \
1993           "Profile VM operations on main thread")                           \
1994                                                                             \
1995   product(bool, ProfileRuntimeCalls, false, DIAGNOSTIC,                     \
1996           "Profile calls into VM runtime on main thread")                   \
1997                                                                             \
1998   develop(bool, SimulateFullAddressSpace, false,                            \
1999           "Simulates a very populated, fragmented address space; no "       \
2000           "targeted reservations will succeed.")                            \
2001                                                                             \
2002   product(bool, ProfileExceptionHandlers, true,                             \
2003           "Profile exception handlers")                                     \
2004                                                                             \
2005   product(bool, AlwaysRecordEvolDependencies, true, EXPERIMENTAL,           \
2006                 "Unconditionally record nmethod dependencies on class "     \
2007                 "rewriting/transformation independently of the JVMTI "      \
2008                 "can_{retransform/redefine}_classes capabilities.")         \
2009                                                                             \
2010   product(bool, TraceThreadTime, false,                                     \
2011           "Enable tracing of thread time in Perf counters")                 \
2012                                                                             \
2013   product(bool, UseSecondarySupersCache, true, DIAGNOSTIC,                  \
2014                 "Use secondary supers cache during subtype checks.")        \
2015                                                                             \
2016   product(bool, UseSecondarySupersTable, false, DIAGNOSTIC,                 \
2017                 "Use hash table to lookup secondary supers.")               \
2018                                                                             \
2019   product(bool, VerifySecondarySupers, false, DIAGNOSTIC,                   \
2020           "Check that linear and hashed secondary lookups return the same result.") \
2021                                                                             \
2022   product(bool, StressSecondarySupers, false, DIAGNOSTIC,                   \
2023           "Use a terrible hash function in order to generate many collisions.") \
2024 
2025 
2026 // end of RUNTIME_FLAGS
2027 
2028 DECLARE_FLAGS(LP64_RUNTIME_FLAGS)
2029 DECLARE_ARCH_FLAGS(ARCH_FLAGS)
2030 DECLARE_FLAGS(RUNTIME_FLAGS)
2031 DECLARE_FLAGS(RUNTIME_OS_FLAGS)
2032 
2033 #endif // SHARE_RUNTIME_GLOBALS_HPP
< prev index next >