JVM参数及默认值

秒速五厘米 2022-12-09 05:12 343阅读 0赞

1 标准参数

标准参数(-),所有的JVM实现都必须实现这些参数的功能,而且向后兼容;
通过命令 java即可查看

  1. 用法: java [-options] class [args...]
  2. (执行类)
  3. java [-options] -jar jarfile [args...]
  4. (执行 jar 文件)
  5. 其中选项包括:
  6. -d32 使用 32 位数据模型 (如果可用)
  7. -d64 使用 64 位数据模型 (如果可用)
  8. -server 选择 "server" VM
  9. 默认 VM server,
  10. 因为您是在服务器类计算机上运行。
  11. -cp <目录和 zip/jar 文件的类搜索路径>
  12. -classpath <目录和 zip/jar 文件的类搜索路径>
  13. : 分隔的目录, JAR 档案
  14. ZIP 档案列表, 用于搜索类文件。
  15. -D<名称>=<值>
  16. 设置系统属性
  17. -verbose:[class|gc|jni]
  18. 启用详细输出
  19. -version 输出产品版本并退出
  20. -version:<值>
  21. 警告: 此功能已过时, 将在
  22. 未来发行版中删除。
  23. 需要指定的版本才能运行
  24. -showversion 输出产品版本并继续
  25. -jre-restrict-search | -no-jre-restrict-search
  26. 警告: 此功能已过时, 将在
  27. 未来发行版中删除。
  28. 在版本搜索中包括/排除用户专用 JRE
  29. -? -help 输出此帮助消息
  30. -X 输出非标准选项的帮助
  31. -ea[:<packagename>...|:<classname>]
  32. -enableassertions[:<packagename>...|:<classname>]
  33. 按指定的粒度启用断言
  34. -da[:<packagename>...|:<classname>]
  35. -disableassertions[:<packagename>...|:<classname>]
  36. 禁用具有指定粒度的断言
  37. -esa | -enablesystemassertions
  38. 启用系统断言
  39. -dsa | -disablesystemassertions
  40. 禁用系统断言
  41. -agentlib:<libname>[=<选项>]
  42. 加载本机代理库 <libname>, 例如 -agentlib:hprof
  43. 另请参阅 -agentlib:jdwp=help -agentlib:hprof=help
  44. -agentpath:<pathname>[=<选项>]
  45. 按完整路径名加载本机代理库
  46. -javaagent:<jarpath>[=<选项>]
  47. 加载 Java 编程语言代理, 请参阅 java.lang.instrument
  48. -splash:<imagepath>
  49. 使用指定的图像显示启动屏幕
  50. 有关详细信息, 请参阅 http://www.oracle.com/technetwork/java/javase/documentation/index.html。

2 非标准参数(-X)

非标准参数(-X),默认jvm实现这些参数的功能,但是并不保证所有jvm实现都满足,且不保证向后兼容;
通过命令 java -X,如下

  1. -Xmixed 混合模式执行 (默认)
  2. -Xint 仅解释模式执行
  3. -Xbootclasspath:<用 : 分隔的目录和 zip/jar 文件>
  4. 设置搜索路径以引导类和资源
  5. -Xbootclasspath/a:<用 : 分隔的目录和 zip/jar 文件>
  6. 附加在引导类路径末尾
  7. -Xbootclasspath/p:<用 : 分隔的目录和 zip/jar 文件>
  8. 置于引导类路径之前
  9. -Xdiag 显示附加诊断消息
  10. -Xnoclassgc 禁用类垃圾收集
  11. -Xincgc 启用增量垃圾收集
  12. -Xloggc:<file> GC 状态记录在文件中 (带时间戳)
  13. -Xbatch 禁用后台编译
  14. -Xms<size> 设置初始 Java 堆大小
  15. -Xmx<size> 设置最大 Java 堆大小
  16. -Xss<size> 设置 Java 线程堆栈大小
  17. -Xprof 输出 cpu 配置文件数据
  18. -Xfuture 启用最严格的检查, 预期将来的默认值
  19. -Xrs 减少 Java/VM 对操作系统信号的使用 (请参阅文档)
  20. -Xcheck:jni JNI 函数执行其他检查
  21. -Xshare:off 不尝试使用共享类数据
  22. -Xshare:auto 在可能的情况下使用共享类数据 (默认)
  23. -Xshare:on 要求使用共享类数据, 否则将失败。
  24. -XshowSettings 显示所有设置并继续
  25. -XshowSettings:all
  26. 显示所有设置并继续
  27. -XshowSettings:vm 显示所有与 vm 相关的设置并继续
  28. -XshowSettings:properties
  29. 显示所有属性设置并继续
  30. -XshowSettings:locale
  31. 显示所有与区域设置相关的设置并继续
  32. -X 选项是非标准选项, 如有更改, 恕不另行通知。

3 非Stable参数(-XX)

非Stable参数(-XX),此类参数各个jvm实现会有所不同,将来可能会随时取消,需要慎重使用(但是,这些参数往往是非常有用的). 通过命令java -XX:+PrintFlagsFinal

  1. [Global flags]
  2. intx ActiveProcessorCount = -1 {product}
  3. uintx AdaptiveSizeDecrementScaleFactor = 4 {product}
  4. uintx AdaptiveSizeMajorGCDecayTimeScale = 10 {product}
  5. uintx AdaptiveSizePausePolicy = 0 {product}
  6. uintx AdaptiveSizePolicyCollectionCostMargin = 50 {product}
  7. uintx AdaptiveSizePolicyInitializingSteps = 20 {product}
  8. uintx AdaptiveSizePolicyOutputInterval = 0 {product}
  9. uintx AdaptiveSizePolicyWeight = 10 {product}
  10. uintx AdaptiveSizeThroughPutPolicy = 0 {product}
  11. uintx AdaptiveTimeWeight = 25 {product}
  12. bool AdjustConcurrency = false {product}
  13. bool AggressiveHeap = false {product}
  14. bool AggressiveOpts = false {product}
  15. intx AliasLevel = 3 {C2 product}
  16. bool AlignVector = true {C2 product}
  17. intx AllocateInstancePrefetchLines = 1 {product}
  18. intx AllocatePrefetchDistance = 256 {product}
  19. intx AllocatePrefetchInstr = 3 {product}
  20. intx AllocatePrefetchLines = 3 {product}
  21. intx AllocatePrefetchStepSize = 64 {product}
  22. intx AllocatePrefetchStyle = 1 {product}
  23. bool AllowJNIEnvProxy = false {product}
  24. bool AllowNonVirtualCalls = false {product}
  25. bool AllowParallelDefineClass = false {product}
  26. bool AllowUserSignalHandlers = false {product}
  27. bool AlwaysActAsServerClassMachine = false {product}
  28. bool AlwaysCompileLoopMethods = false {product}
  29. bool AlwaysLockClassLoader = false {product}
  30. bool AlwaysPreTouch = false {product}
  31. bool AlwaysRestoreFPU = false {product}
  32. bool AlwaysTenure = false {product}
  33. bool AssertOnSuspendWaitFailure = false {product}
  34. bool AssumeMP = false {product}
  35. intx AutoBoxCacheMax = 128 {C2 product}
  36. uintx AutoGCSelectPauseMillis = 5000 {product}
  37. intx BCEATraceLevel = 0 {product}
  38. intx BackEdgeThreshold = 100000 {pd product}
  39. bool BackgroundCompilation = true {pd product}
  40. uintx BaseFootPrintEstimate = 268435456 {product}
  41. intx BiasedLockingBulkRebiasThreshold = 20 {product}
  42. intx BiasedLockingBulkRevokeThreshold = 40 {product}
  43. intx BiasedLockingDecayTime = 25000 {product}
  44. intx BiasedLockingStartupDelay = 4000 {product}
  45. bool BindGCTaskThreadsToCPUs = false {product}
  46. bool BlockLayoutByFrequency = true {C2 product}
  47. intx BlockLayoutMinDiamondPercentage = 20 {C2 product}
  48. bool BlockLayoutRotateLoops = true {C2 product}
  49. bool BranchOnRegister = false {C2 product}
  50. bool BytecodeVerificationLocal = false {product}
  51. bool BytecodeVerificationRemote = true {product}
  52. bool C1OptimizeVirtualCallProfiling = true {C1 product}
  53. bool C1ProfileBranches = true {C1 product}
  54. bool C1ProfileCalls = true {C1 product}
  55. bool C1ProfileCheckcasts = true {C1 product}
  56. bool C1ProfileInlinedCalls = true {C1 product}
  57. bool C1ProfileVirtualCalls = true {C1 product}
  58. bool C1UpdateMethodData = true {C1 product}
  59. intx CICompilerCount := 12 {product}
  60. bool CICompilerCountPerCPU = true {product}
  61. bool CITime = false {product}
  62. bool CMSAbortSemantics = false {product}
  63. uintx CMSAbortablePrecleanMinWorkPerIteration = 100 {product}
  64. intx CMSAbortablePrecleanWaitMillis = 100 {manageable}
  65. uintx CMSBitMapYieldQuantum = 10485760 {product}
  66. uintx CMSBootstrapOccupancy = 50 {product}
  67. bool CMSClassUnloadingEnabled = true {product}
  68. uintx CMSClassUnloadingMaxInterval = 0 {product}
  69. bool CMSCleanOnEnter = true {product}
  70. bool CMSCompactWhenClearAllSoftRefs = true {product}
  71. uintx CMSConcMarkMultiple = 32 {product}
  72. bool CMSConcurrentMTEnabled = true {product}
  73. uintx CMSCoordinatorYieldSleepCount = 10 {product}
  74. bool CMSDumpAtPromotionFailure = false {product}
  75. bool CMSEdenChunksRecordAlways = true {product}
  76. uintx CMSExpAvgFactor = 50 {product}
  77. bool CMSExtrapolateSweep = false {product}
  78. uintx CMSFullGCsBeforeCompaction = 0 {product}
  79. uintx CMSIncrementalDutyCycle = 10 {product}
  80. uintx CMSIncrementalDutyCycleMin = 0 {product}
  81. bool CMSIncrementalMode = false {product}
  82. uintx CMSIncrementalOffset = 0 {product}
  83. bool CMSIncrementalPacing = true {product}
  84. uintx CMSIncrementalSafetyFactor = 10 {product}
  85. uintx CMSIndexedFreeListReplenish = 4 {product}
  86. intx CMSInitiatingOccupancyFraction = -1 {product}
  87. uintx CMSIsTooFullPercentage = 98 {product}
  88. double CMSLargeCoalSurplusPercent = 0.950000 {product}
  89. double CMSLargeSplitSurplusPercent = 1.000000 {product}
  90. bool CMSLoopWarn = false {product}
  91. uintx CMSMaxAbortablePrecleanLoops = 0 {product}
  92. intx CMSMaxAbortablePrecleanTime = 5000 {product}
  93. uintx CMSOldPLABMax = 1024 {product}
  94. uintx CMSOldPLABMin = 16 {product}
  95. uintx CMSOldPLABNumRefills = 4 {product}
  96. uintx CMSOldPLABReactivityFactor = 2 {product}
  97. bool CMSOldPLABResizeQuicker = false {product}
  98. uintx CMSOldPLABToleranceFactor = 4 {product}
  99. bool CMSPLABRecordAlways = true {product}
  100. uintx CMSParPromoteBlocksToClaim = 16 {product}
  101. bool CMSParallelInitialMarkEnabled = true {product}
  102. bool CMSParallelRemarkEnabled = true {product}
  103. bool CMSParallelSurvivorRemarkEnabled = true {product}
  104. uintx CMSPrecleanDenominator = 3 {product}
  105. uintx CMSPrecleanIter = 3 {product}
  106. uintx CMSPrecleanNumerator = 2 {product}
  107. bool CMSPrecleanRefLists1 = true {product}
  108. bool CMSPrecleanRefLists2 = false {product}
  109. bool CMSPrecleanSurvivors1 = false {product}
  110. bool CMSPrecleanSurvivors2 = true {product}
  111. uintx CMSPrecleanThreshold = 1000 {product}
  112. bool CMSPrecleaningEnabled = true {product}
  113. bool CMSPrintChunksInDump = false {product}
  114. bool CMSPrintEdenSurvivorChunks = false {product}
  115. bool CMSPrintObjectsInDump = false {product}
  116. uintx CMSRemarkVerifyVariant = 1 {product}
  117. bool CMSReplenishIntermediate = true {product}
  118. uintx CMSRescanMultiple = 32 {product}
  119. uintx CMSSamplingGrain = 16384 {product}
  120. bool CMSScavengeBeforeRemark = false {product}
  121. uintx CMSScheduleRemarkEdenPenetration = 50 {product}
  122. uintx CMSScheduleRemarkEdenSizeThreshold = 2097152 {product}
  123. uintx CMSScheduleRemarkSamplingRatio = 5 {product}
  124. double CMSSmallCoalSurplusPercent = 1.050000 {product}
  125. double CMSSmallSplitSurplusPercent = 1.100000 {product}
  126. bool CMSSplitIndexedFreeListBlocks = true {product}
  127. intx CMSTriggerInterval = -1 {manageable}
  128. uintx CMSTriggerRatio = 80 {product}
  129. intx CMSWaitDuration = 2000 {manageable}
  130. uintx CMSWorkQueueDrainThreshold = 10 {product}
  131. bool CMSYield = true {product}
  132. uintx CMSYieldSleepCount = 0 {product}
  133. uintx CMSYoungGenPerWorker = 67108864 {pd product}
  134. uintx CMS_FLSPadding = 1 {product}
  135. uintx CMS_FLSWeight = 75 {product}
  136. uintx CMS_SweepPadding = 1 {product}
  137. uintx CMS_SweepTimerThresholdMillis = 10 {product}
  138. uintx CMS_SweepWeight = 75 {product}
  139. bool CheckEndorsedAndExtDirs = false {product}
  140. bool CheckJNICalls = false {product}
  141. bool ClassUnloading = true {product}
  142. bool ClassUnloadingWithConcurrentMark = true {product}
  143. intx ClearFPUAtPark = 0 {product}
  144. bool ClipInlining = true {product}
  145. uintx CodeCacheExpansionSize = 65536 {pd product}
  146. uintx CodeCacheMinimumFreeSpace = 512000 {product}
  147. bool CollectGen0First = false {product}
  148. bool CompactFields = true {product}
  149. intx CompilationPolicyChoice = 3 {product}
  150. ccstrlist CompileCommand = {product}
  151. ccstr CompileCommandFile = {product}
  152. ccstrlist CompileOnly = {product}
  153. intx CompileThreshold = 10000 {pd product}
  154. bool CompilerThreadHintNoPreempt = true {product}
  155. intx CompilerThreadPriority = -1 {product}
  156. intx CompilerThreadStackSize = 0 {pd product}
  157. uintx CompressedClassSpaceSize = 1073741824 {product}
  158. uintx ConcGCThreads = 0 {product}
  159. intx ConditionalMoveLimit = 3 {C2 pd product}
  160. intx ContendedPaddingWidth = 128 {product}
  161. bool ConvertSleepToYield = true {pd product}
  162. bool ConvertYieldToSleep = false {product}
  163. bool CrashOnOutOfMemoryError = false {product}
  164. bool CreateMinidumpOnCrash = false {product}
  165. bool CriticalJNINatives = true {product}
  166. bool DTraceAllocProbes = false {product}
  167. bool DTraceMethodProbes = false {product}
  168. bool DTraceMonitorProbes = false {product}
  169. bool Debugging = false {product}
  170. uintx DefaultMaxRAMFraction = 4 {product}
  171. intx DefaultThreadPriority = -1 {product}
  172. intx DeferPollingPageLoopCount = -1 {product}
  173. intx DeferThrSuspendLoopCount = 4000 {product}
  174. bool DeoptimizeRandom = false {product}
  175. bool DisableAttachMechanism = false {product}
  176. bool DisableExplicitGC = false {product}
  177. bool DisplayVMOutputToStderr = false {product}
  178. bool DisplayVMOutputToStdout = false {product}
  179. bool DoEscapeAnalysis = true {C2 product}
  180. bool DontCompileHugeMethods = true {product}
  181. bool DontYieldALot = false {pd product}
  182. ccstr DumpLoadedClassList = {product}
  183. bool DumpReplayDataOnError = true {product}
  184. bool DumpSharedSpaces = false {product}
  185. bool EagerXrunInit = false {product}
  186. intx EliminateAllocationArraySizeLimit = 64 {C2 product}
  187. bool EliminateAllocations = true {C2 product}
  188. bool EliminateAutoBox = true {C2 product}
  189. bool EliminateLocks = true {C2 product}
  190. bool EliminateNestedLocks = true {C2 product}
  191. intx EmitSync = 0 {product}
  192. bool EnableContended = true {product}
  193. bool EnableResourceManagementTLABCache = true {product}
  194. bool EnableSharedLookupCache = true {product}
  195. bool EnableTracing = false {product}
  196. uintx ErgoHeapSizeLimit = 0 {product}
  197. ccstr ErrorFile = {product}
  198. ccstr ErrorReportServer = {product}
  199. double EscapeAnalysisTimeout = 20.000000 {C2 product}
  200. bool EstimateArgEscape = true {product}
  201. bool ExitOnOutOfMemoryError = false {product}
  202. bool ExplicitGCInvokesConcurrent = false {product}
  203. bool ExplicitGCInvokesConcurrentAndUnloadsClasses = false {product}
  204. bool ExtendedDTraceProbes = false {product}
  205. ccstr ExtraSharedClassListFile = {product}
  206. bool FLSAlwaysCoalesceLarge = false {product}
  207. uintx FLSCoalescePolicy = 2 {product}
  208. double FLSLargestBlockCoalesceProximity = 0.990000 {product}
  209. bool FailOverToOldVerifier = true {product}
  210. bool FastTLABRefill = true {product}
  211. intx FenceInstruction = 0 {ARCH product}
  212. intx FieldsAllocationStyle = 1 {product}
  213. bool FilterSpuriousWakeups = true {product}
  214. ccstr FlightRecorderOptions = {product}
  215. bool ForceNUMA = false {product}
  216. bool ForceTimeHighResolution = false {product}
  217. intx FreqInlineSize = 325 {pd product}
  218. double G1ConcMarkStepDurationMillis = 10.000000 {product}
  219. uintx G1ConcRSHotCardLimit = 4 {product}
  220. uintx G1ConcRSLogCacheSize = 10 {product}
  221. intx G1ConcRefinementGreenZone = 0 {product}
  222. intx G1ConcRefinementRedZone = 0 {product}
  223. intx G1ConcRefinementServiceIntervalMillis = 300 {product}
  224. uintx G1ConcRefinementThreads = 0 {product}
  225. intx G1ConcRefinementThresholdStep = 0 {product}
  226. intx G1ConcRefinementYellowZone = 0 {product}
  227. uintx G1ConfidencePercent = 50 {product}
  228. uintx G1HeapRegionSize = 0 {product}
  229. uintx G1HeapWastePercent = 5 {product}
  230. uintx G1MixedGCCountTarget = 8 {product}
  231. intx G1RSetRegionEntries = 0 {product}
  232. uintx G1RSetScanBlockSize = 64 {product}
  233. intx G1RSetSparseRegionEntries = 0 {product}
  234. intx G1RSetUpdatingPauseTimePercent = 10 {product}
  235. intx G1RefProcDrainInterval = 10 {product}
  236. uintx G1ReservePercent = 10 {product}
  237. uintx G1SATBBufferEnqueueingThresholdPercent = 60 {product}
  238. intx G1SATBBufferSize = 1024 {product}
  239. intx G1UpdateBufferSize = 256 {product}
  240. bool G1UseAdaptiveConcRefinement = true {product}
  241. uintx GCDrainStackTargetSize = 64 {product}
  242. uintx GCHeapFreeLimit = 2 {product}
  243. uintx GCLockerEdenExpansionPercent = 5 {product}
  244. bool GCLockerInvokesConcurrent = false {product}
  245. uintx GCLogFileSize = 8192 {product}
  246. uintx GCPauseIntervalMillis = 0 {product}
  247. uintx GCTaskTimeStampEntries = 200 {product}
  248. uintx GCTimeLimit = 98 {product}
  249. uintx GCTimeRatio = 99 {product}
  250. uintx HeapBaseMinAddress = 2147483648 {pd product}
  251. bool HeapDumpAfterFullGC = false {manageable}
  252. bool HeapDumpBeforeFullGC = false {manageable}
  253. bool HeapDumpOnOutOfMemoryError = false {manageable}
  254. ccstr HeapDumpPath = {manageable}
  255. uintx HeapFirstMaximumCompactionCount = 3 {product}
  256. uintx HeapMaximumCompactionInterval = 20 {product}
  257. uintx HeapSizePerGCThread = 87241520 {product}
  258. bool IgnoreEmptyClassPaths = false {product}
  259. bool IgnoreUnrecognizedVMOptions = false {product}
  260. uintx IncreaseFirstTierCompileThresholdAt = 50 {product}
  261. bool IncrementalInline = true {C2 product}
  262. uintx InitialBootClassLoaderMetaspaceSize = 4194304 {product}
  263. uintx InitialCodeCacheSize = 2555904 {pd product}
  264. uintx InitialHeapSize := 526385152 {product}
  265. uintx InitialRAMFraction = 64 {product}
  266. double InitialRAMPercentage = 1.562500 {product}
  267. uintx InitialSurvivorRatio = 8 {product}
  268. uintx InitialTenuringThreshold = 7 {product}
  269. uintx InitiatingHeapOccupancyPercent = 45 {product}
  270. bool Inline = true {product}
  271. ccstr InlineDataFile = {product}
  272. intx InlineSmallCode = 2000 {pd product}
  273. bool InlineSynchronizedMethods = true {C1 product}
  274. bool InsertMemBarAfterArraycopy = true {C2 product}
  275. intx InteriorEntryAlignment = 16 {C2 pd product}
  276. intx InterpreterProfilePercentage = 33 {product}
  277. bool JNIDetachReleasesMonitors = true {product}
  278. bool JavaMonitorsInStackTrace = true {product}
  279. intx JavaPriority10_To_OSPriority = -1 {product}
  280. intx JavaPriority1_To_OSPriority = -1 {product}
  281. intx JavaPriority2_To_OSPriority = -1 {product}
  282. intx JavaPriority3_To_OSPriority = -1 {product}
  283. intx JavaPriority4_To_OSPriority = -1 {product}
  284. intx JavaPriority5_To_OSPriority = -1 {product}
  285. intx JavaPriority6_To_OSPriority = -1 {product}
  286. intx JavaPriority7_To_OSPriority = -1 {product}
  287. intx JavaPriority8_To_OSPriority = -1 {product}
  288. intx JavaPriority9_To_OSPriority = -1 {product}
  289. bool LIRFillDelaySlots = false {C1 pd product}
  290. uintx LargePageHeapSizeThreshold = 134217728 {product}
  291. uintx LargePageSizeInBytes = 0 {product}
  292. bool LazyBootClassLoader = true {product}
  293. intx LiveNodeCountInliningCutoff = 40000 {C2 product}
  294. bool LoadExecStackDllInVMThread = true {product}
  295. bool LogCommercialFeatures = false {product}
  296. intx LoopMaxUnroll = 16 {C2 product}
  297. intx LoopOptsCount = 43 {C2 product}
  298. intx LoopUnrollLimit = 60 {C2 pd product}
  299. intx LoopUnrollMin = 4 {C2 product}
  300. bool LoopUnswitching = true {C2 product}
  301. bool ManagementServer = false {product}
  302. uintx MarkStackSize = 4194304 {product}
  303. uintx MarkStackSizeMax = 536870912 {product}
  304. uintx MarkSweepAlwaysCompactCount = 4 {product}
  305. uintx MarkSweepDeadRatio = 1 {product}
  306. intx MaxBCEAEstimateLevel = 5 {product}
  307. intx MaxBCEAEstimateSize = 150 {product}
  308. uintx MaxDirectMemorySize = 0 {product}
  309. bool MaxFDLimit = true {product}
  310. uintx MaxGCMinorPauseMillis = 18446744073709551615 {product}
  311. uintx MaxGCPauseMillis = 18446744073709551615 {product}
  312. uintx MaxHeapFreeRatio = 100 {manageable}
  313. uintx MaxHeapSize := 8417968128 {product}
  314. intx MaxInlineLevel = 9 {product}
  315. intx MaxInlineSize = 35 {product}
  316. intx MaxJNILocalCapacity = 65536 {product}
  317. intx MaxJavaStackTraceDepth = 1024 {product}
  318. intx MaxJumpTableSize = 65000 {C2 product}
  319. intx MaxJumpTableSparseness = 5 {C2 product}
  320. intx MaxLabelRootDepth = 1100 {C2 product}
  321. intx MaxLoopPad = 11 {C2 product}
  322. uintx MaxMetaspaceExpansion = 5451776 {product}
  323. uintx MaxMetaspaceFreeRatio = 70 {product}
  324. uintx MaxMetaspaceSize = 18446744073709547520 {product}
  325. uintx MaxNewSize := 2805989376 {product}
  326. intx MaxNodeLimit = 75000 {C2 product}
  327. uint64_t MaxRAM = 137438953472 {pd product}
  328. uintx MaxRAMFraction = 4 {product}
  329. double MaxRAMPercentage = 25.000000 {product}
  330. intx MaxRecursiveInlineLevel = 1 {product}
  331. uintx MaxTenuringThreshold = 15 {product}
  332. intx MaxTrivialSize = 6 {product}
  333. intx MaxVectorSize = 32 {C2 product}
  334. uintx MetaspaceSize = 21807104 {pd product}
  335. bool MethodFlushing = true {product}
  336. uintx MinHeapDeltaBytes := 524288 {product}
  337. uintx MinHeapFreeRatio = 0 {manageable}
  338. intx MinInliningThreshold = 250 {product}
  339. intx MinJumpTableSize = 10 {C2 pd product}
  340. uintx MinMetaspaceExpansion = 339968 {product}
  341. uintx MinMetaspaceFreeRatio = 40 {product}
  342. uintx MinRAMFraction = 2 {product}
  343. double MinRAMPercentage = 50.000000 {product}
  344. uintx MinSurvivorRatio = 3 {product}
  345. uintx MinTLABSize = 2048 {product}
  346. intx MonitorBound = 0 {product}
  347. bool MonitorInUseLists = false {product}
  348. intx MultiArrayExpandLimit = 6 {C2 product}
  349. bool MustCallLoadClassInternal = false {product}
  350. uintx NUMAChunkResizeWeight = 20 {product}
  351. uintx NUMAInterleaveGranularity = 2097152 {product}
  352. uintx NUMAPageScanRate = 256 {product}
  353. uintx NUMASpaceResizeRate = 1073741824 {product}
  354. bool NUMAStats = false {product}
  355. ccstr NativeMemoryTracking = off {product}
  356. bool NeedsDeoptSuspend = false {pd product}
  357. bool NeverActAsServerClassMachine = false {pd product}
  358. bool NeverTenure = false {product}
  359. uintx NewRatio = 2 {product}
  360. uintx NewSize := 175112192 {product}
  361. uintx NewSizeThreadIncrease = 5320 {pd product}
  362. intx NmethodSweepActivity = 10 {product}
  363. intx NmethodSweepCheckInterval = 5 {product}
  364. intx NmethodSweepFraction = 16 {product}
  365. intx NodeLimitFudgeFactor = 2000 {C2 product}
  366. uintx NumberOfGCLogFiles = 0 {product}
  367. intx NumberOfLoopInstrToAlign = 4 {C2 product}
  368. intx ObjectAlignmentInBytes = 8 {lp64_product}
  369. uintx OldPLABSize = 1024 {product}
  370. uintx OldPLABWeight = 50 {product}
  371. uintx OldSize := 351272960 {product}
  372. bool OmitStackTraceInFastThrow = true {product}
  373. ccstrlist OnError = {product}
  374. ccstrlist OnOutOfMemoryError = {product}
  375. intx OnStackReplacePercentage = 140 {pd product}
  376. bool OptimizeFill = true {C2 product}
  377. bool OptimizePtrCompare = true {C2 product}
  378. bool OptimizeStringConcat = true {C2 product}
  379. bool OptoBundling = false {C2 pd product}
  380. intx OptoLoopAlignment = 16 {pd product}
  381. bool OptoScheduling = false {C2 pd product}
  382. uintx PLABWeight = 75 {product}
  383. bool PSChunkLargeArrays = true {product}
  384. intx ParGCArrayScanChunk = 50 {product}
  385. uintx ParGCDesiredObjsFromOverflowList = 20 {product}
  386. bool ParGCTrimOverflow = true {product}
  387. bool ParGCUseLocalOverflow = false {product}
  388. uintx ParallelGCBufferWastePct = 10 {product}
  389. uintx ParallelGCThreads = 13 {product}
  390. bool ParallelGCVerbose = false {product}
  391. uintx ParallelOldDeadWoodLimiterMean = 50 {product}
  392. uintx ParallelOldDeadWoodLimiterStdDev = 80 {product}
  393. bool ParallelRefProcBalancingEnabled = true {product}
  394. bool ParallelRefProcEnabled = false {product}
  395. bool PartialPeelAtUnsignedTests = true {C2 product}
  396. bool PartialPeelLoop = true {C2 product}
  397. intx PartialPeelNewPhiDelta = 0 {C2 product}
  398. uintx PausePadding = 1 {product}
  399. intx PerBytecodeRecompilationCutoff = 200 {product}
  400. intx PerBytecodeTrapLimit = 4 {product}
  401. intx PerMethodRecompilationCutoff = 400 {product}
  402. intx PerMethodTrapLimit = 100 {product}
  403. bool PerfAllowAtExitRegistration = false {product}
  404. bool PerfBypassFileSystemCheck = false {product}
  405. intx PerfDataMemorySize = 32768 {product}
  406. intx PerfDataSamplingInterval = 50 {product}
  407. ccstr PerfDataSaveFile = {product}
  408. bool PerfDataSaveToFile = false {product}
  409. bool PerfDisableSharedMem = false {product}
  410. intx PerfMaxStringConstLength = 1024 {product}
  411. intx PreInflateSpin = 10 {pd product}
  412. bool PreferContainerQuotaForCPUCount = true {product}
  413. bool PreferInterpreterNativeStubs = false {pd product}
  414. intx PrefetchCopyIntervalInBytes = 576 {product}
  415. intx PrefetchFieldsAhead = 1 {product}
  416. intx PrefetchScanIntervalInBytes = 576 {product}
  417. bool PreserveAllAnnotations = false {product}
  418. bool PreserveFramePointer = false {pd product}
  419. uintx PretenureSizeThreshold = 0 {product}
  420. bool PrintAdaptiveSizePolicy = false {product}
  421. bool PrintCMSInitiationStatistics = false {product}
  422. intx PrintCMSStatistics = 0 {product}
  423. bool PrintClassHistogram = false {manageable}
  424. bool PrintClassHistogramAfterFullGC = false {manageable}
  425. bool PrintClassHistogramBeforeFullGC = false {manageable}
  426. bool PrintCodeCache = false {product}
  427. bool PrintCodeCacheOnCompilation = false {product}
  428. bool PrintCommandLineFlags = false {product}
  429. bool PrintCompilation = false {product}
  430. bool PrintConcurrentLocks = false {manageable}
  431. intx PrintFLSCensus = 0 {product}
  432. intx PrintFLSStatistics = 0 {product}
  433. bool PrintFlagsFinal := true {product}
  434. bool PrintFlagsInitial = false {product}
  435. bool PrintGC = false {manageable}
  436. bool PrintGCApplicationConcurrentTime = false {product}
  437. bool PrintGCApplicationStoppedTime = false {product}
  438. bool PrintGCCause = true {product}
  439. bool PrintGCDateStamps = false {manageable}
  440. bool PrintGCDetails = false {manageable}
  441. bool PrintGCID = false {manageable}
  442. bool PrintGCTaskTimeStamps = false {product}
  443. bool PrintGCTimeStamps = false {manageable}
  444. bool PrintHeapAtGC = false {product rw}
  445. bool PrintHeapAtGCExtended = false {product rw}
  446. bool PrintHeapAtSIGBREAK = true {product}
  447. bool PrintJNIGCStalls = false {product}
  448. bool PrintJNIResolving = false {product}
  449. bool PrintOldPLAB = false {product}
  450. bool PrintOopAddress = false {product}
  451. bool PrintPLAB = false {product}
  452. bool PrintParallelOldGCPhaseTimes = false {product}
  453. bool PrintPromotionFailure = false {product}
  454. bool PrintReferenceGC = false {product}
  455. bool PrintSafepointStatistics = false {product}
  456. intx PrintSafepointStatisticsCount = 300 {product}
  457. intx PrintSafepointStatisticsTimeout = -1 {product}
  458. bool PrintSharedArchiveAndExit = false {product}
  459. bool PrintSharedDictionary = false {product}
  460. bool PrintSharedSpaces = false {product}
  461. bool PrintStringDeduplicationStatistics = false {product}
  462. bool PrintStringTableStatistics = false {product}
  463. bool PrintTLAB = false {product}
  464. bool PrintTenuringDistribution = false {product}
  465. bool PrintTieredEvents = false {product}
  466. bool PrintVMOptions = false {product}
  467. bool PrintVMQWaitTime = false {product}
  468. bool PrintWarnings = true {product}
  469. uintx ProcessDistributionStride = 4 {product}
  470. bool ProfileInterpreter = true {pd product}
  471. bool ProfileIntervals = false {product}
  472. intx ProfileIntervalsTicks = 100 {product}
  473. intx ProfileMaturityPercentage = 20 {product}
  474. bool ProfileVM = false {product}
  475. bool ProfilerPrintByteCodeStatistics = false {product}
  476. bool ProfilerRecordPC = false {product}
  477. uintx PromotedPadding = 3 {product}
  478. uintx QueuedAllocationWarningCount = 0 {product}
  479. uintx RTMRetryCount = 5 {ARCH product}
  480. bool RangeCheckElimination = true {product}
  481. intx ReadPrefetchInstr = 0 {ARCH product}
  482. bool ReassociateInvariants = true {C2 product}
  483. bool ReduceBulkZeroing = true {C2 product}
  484. bool ReduceFieldZeroing = true {C2 product}
  485. bool ReduceInitialCardMarks = true {C2 product}
  486. bool ReduceSignalUsage = false {product}
  487. intx RefDiscoveryPolicy = 0 {product}
  488. bool ReflectionWrapResolutionErrors = true {product}
  489. bool RegisterFinalizersAtInit = true {product}
  490. bool RelaxAccessControlCheck = false {product}
  491. ccstr ReplayDataFile = {product}
  492. bool RequireSharedSpaces = false {product}
  493. uintx ReservedCodeCacheSize = 251658240 {pd product}
  494. bool ResizeOldPLAB = true {product}
  495. bool ResizePLAB = true {product}
  496. bool ResizeTLAB = true {pd product}
  497. bool RestoreMXCSROnJNICalls = false {product}
  498. bool RestrictContended = true {product}
  499. bool RewriteBytecodes = true {pd product}
  500. bool RewriteFrequentPairs = true {pd product}
  501. intx SafepointPollOffset = 256 {C1 pd product}
  502. intx SafepointSpinBeforeYield = 2000 {product}
  503. bool SafepointTimeout = false {product}
  504. intx SafepointTimeoutDelay = 10000 {product}
  505. bool ScavengeBeforeFullGC = true {product}
  506. intx SelfDestructTimer = 0 {product}
  507. uintx SharedBaseAddress = 34359738368 {product}
  508. ccstr SharedClassListFile = {product}
  509. uintx SharedMiscCodeSize = 122880 {product}
  510. uintx SharedMiscDataSize = 4194304 {product}
  511. uintx SharedReadOnlySize = 16777216 {product}
  512. uintx SharedReadWriteSize = 16777216 {product}
  513. bool ShowMessageBoxOnError = false {product}
  514. intx SoftRefLRUPolicyMSPerMB = 1000 {product}
  515. bool SpecialEncodeISOArray = true {C2 product}
  516. bool SplitIfBlocks = true {C2 product}
  517. intx StackRedPages = 1 {pd product}
  518. intx StackShadowPages = 20 {pd product}
  519. bool StackTraceInThrowable = true {product}
  520. intx StackYellowPages = 2 {pd product}
  521. bool StartAttachListener = false {product}
  522. intx StarvationMonitorInterval = 200 {product}
  523. bool StressLdcRewrite = false {product}
  524. uintx StringDeduplicationAgeThreshold = 3 {product}
  525. uintx StringTableSize = 60013 {product}
  526. bool SuppressFatalErrorMessage = false {product}
  527. uintx SurvivorPadding = 3 {product}
  528. uintx SurvivorRatio = 8 {product}
  529. intx SuspendRetryCount = 50 {product}
  530. intx SuspendRetryDelay = 5 {product}
  531. intx SyncFlags = 0 {product}
  532. ccstr SyncKnobs = {product}
  533. intx SyncVerbose = 0 {product}
  534. uintx TLABAllocationWeight = 35 {product}
  535. uintx TLABRefillWasteFraction = 64 {product}
  536. uintx TLABSize = 0 {product}
  537. bool TLABStats = true {product}
  538. uintx TLABWasteIncrement = 4 {product}
  539. uintx TLABWasteTargetPercent = 1 {product}
  540. uintx TargetPLABWastePct = 10 {product}
  541. uintx TargetSurvivorRatio = 50 {product}
  542. uintx TenuredGenerationSizeIncrement = 20 {product}
  543. uintx TenuredGenerationSizeSupplement = 80 {product}
  544. uintx TenuredGenerationSizeSupplementDecay = 2 {product}
  545. intx ThreadPriorityPolicy = 0 {product}
  546. bool ThreadPriorityVerbose = false {product}
  547. uintx ThreadSafetyMargin = 52428800 {product}
  548. intx ThreadStackSize = 1024 {pd product}
  549. uintx ThresholdTolerance = 10 {product}
  550. intx Tier0BackedgeNotifyFreqLog = 10 {product}
  551. intx Tier0InvokeNotifyFreqLog = 7 {product}
  552. intx Tier0ProfilingStartPercentage = 200 {product}
  553. intx Tier23InlineeNotifyFreqLog = 20 {product}
  554. intx Tier2BackEdgeThreshold = 0 {product}
  555. intx Tier2BackedgeNotifyFreqLog = 14 {product}
  556. intx Tier2CompileThreshold = 0 {product}
  557. intx Tier2InvokeNotifyFreqLog = 11 {product}
  558. intx Tier3BackEdgeThreshold = 60000 {product}
  559. intx Tier3BackedgeNotifyFreqLog = 13 {product}
  560. intx Tier3CompileThreshold = 2000 {product}
  561. intx Tier3DelayOff = 2 {product}
  562. intx Tier3DelayOn = 5 {product}
  563. intx Tier3InvocationThreshold = 200 {product}
  564. intx Tier3InvokeNotifyFreqLog = 10 {product}
  565. intx Tier3LoadFeedback = 5 {product}
  566. intx Tier3MinInvocationThreshold = 100 {product}
  567. intx Tier4BackEdgeThreshold = 40000 {product}
  568. intx Tier4CompileThreshold = 15000 {product}
  569. intx Tier4InvocationThreshold = 5000 {product}
  570. intx Tier4LoadFeedback = 3 {product}
  571. intx Tier4MinInvocationThreshold = 600 {product}
  572. bool TieredCompilation = true {pd product}
  573. intx TieredCompileTaskTimeout = 50 {product}
  574. intx TieredRateUpdateMaxTime = 25 {product}
  575. intx TieredRateUpdateMinTime = 1 {product}
  576. intx TieredStopAtLevel = 4 {product}
  577. bool TimeLinearScan = false {C1 product}
  578. bool TraceBiasedLocking = false {product}
  579. bool TraceClassLoading = false {product rw}
  580. bool TraceClassLoadingPreorder = false {product}
  581. bool TraceClassPaths = false {product}
  582. bool TraceClassResolution = false {product}
  583. bool TraceClassUnloading = false {product rw}
  584. bool TraceDynamicGCThreads = false {product}
  585. bool TraceGen0Time = false {product}
  586. bool TraceGen1Time = false {product}
  587. ccstr TraceJVMTI = {product}
  588. bool TraceLoaderConstraints = false {product rw}
  589. bool TraceMetadataHumongousAllocation = false {product}
  590. bool TraceMonitorInflation = false {product}
  591. bool TraceParallelOldGCTasks = false {product}
  592. intx TraceRedefineClasses = 0 {product}
  593. bool TraceSafepointCleanupTime = false {product}
  594. bool TraceSharedLookupCache = false {product}
  595. bool TraceSuspendWaitFailures = false {product}
  596. intx TrackedInitializationLimit = 50 {C2 product}
  597. bool TransmitErrorReport = false {product}
  598. bool TrapBasedNullChecks = false {pd product}
  599. bool TrapBasedRangeChecks = false {C2 pd product}
  600. intx TypeProfileArgsLimit = 2 {product}
  601. uintx TypeProfileLevel = 111 {pd product}
  602. intx TypeProfileMajorReceiverPercent = 90 {C2 product}
  603. intx TypeProfileParmsLimit = 2 {product}
  604. intx TypeProfileWidth = 2 {product}
  605. intx UnguardOnExecutionViolation = 0 {product}
  606. bool UnlinkSymbolsALot = false {product}
  607. bool Use486InstrsOnly = false {ARCH product}
  608. bool UseAES = true {product}
  609. bool UseAESIntrinsics = true {product}
  610. intx UseAVX = 2 {ARCH product}
  611. bool UseAdaptiveGCBoundary = false {product}
  612. bool UseAdaptiveGenerationSizePolicyAtMajorCollection = true {product}
  613. bool UseAdaptiveGenerationSizePolicyAtMinorCollection = true {product}
  614. bool UseAdaptiveNUMAChunkSizing = true {product}
  615. bool UseAdaptiveSizeDecayMajorGCCost = true {product}
  616. bool UseAdaptiveSizePolicy = true {product}
  617. bool UseAdaptiveSizePolicyFootprintGoal = true {product}
  618. bool UseAdaptiveSizePolicyWithSystemGC = false {product}
  619. bool UseAddressNop = true {ARCH product}
  620. bool UseAltSigs = false {product}
  621. bool UseAutoGCSelectPolicy = false {product}
  622. bool UseBMI1Instructions = true {ARCH product}
  623. bool UseBMI2Instructions = true {ARCH product}
  624. bool UseBiasedLocking = true {product}
  625. bool UseBimorphicInlining = true {C2 product}
  626. bool UseBoundThreads = true {product}
  627. bool UseCLMUL = true {ARCH product}
  628. bool UseCMSBestFit = true {product}
  629. bool UseCMSCollectionPassing = true {product}
  630. bool UseCMSCompactAtFullCollection = true {product}
  631. bool UseCMSInitiatingOccupancyOnly = false {product}
  632. bool UseCRC32Intrinsics = true {product}
  633. bool UseCodeCacheFlushing = true {product}
  634. bool UseCompiler = true {product}
  635. bool UseCompilerSafepoints = true {product}
  636. bool UseCompressedClassPointers := true {lp64_product}
  637. bool UseCompressedOops := true {lp64_product}
  638. bool UseConcMarkSweepGC = false {product}
  639. bool UseCondCardMark = false {C2 product}
  640. bool UseContainerSupport = true {product}
  641. bool UseCountLeadingZerosInstruction = true {ARCH product}
  642. bool UseCountTrailingZerosInstruction = true {ARCH product}
  643. bool UseCountedLoopSafepoints = false {C2 product}
  644. bool UseCounterDecay = true {product}
  645. bool UseDivMod = true {C2 product}
  646. bool UseDynamicNumberOfGCThreads = false {product}
  647. bool UseFPUForSpilling = true {C2 product}
  648. bool UseFastAccessorMethods = false {product}
  649. bool UseFastEmptyMethods = false {product}
  650. bool UseFastJNIAccessors = true {product}
  651. bool UseFastStosb = true {ARCH product}
  652. bool UseG1GC = false {product}
  653. bool UseGCLogFileRotation = false {product}
  654. bool UseGCOverheadLimit = true {product}
  655. bool UseGCTaskAffinity = false {product}
  656. bool UseHeavyMonitors = false {product}
  657. bool UseHugeTLBFS = false {product}
  658. bool UseInlineCaches = true {product}
  659. bool UseInterpreter = true {product}
  660. bool UseJumpTables = true {C2 product}
  661. bool UseLWPSynchronization = true {product}
  662. bool UseLargePages = false {pd product}
  663. bool UseLargePagesInMetaspace = false {product}
  664. bool UseLargePagesIndividualAllocation = false {pd product}
  665. bool UseLinuxPosixThreadCPUClocks = true {product}
  666. bool UseLockedTracing = false {product}
  667. bool UseLoopCounter = true {product}
  668. bool UseLoopInvariantCodeMotion = true {C1 product}
  669. bool UseLoopPredicate = true {C2 product}
  670. bool UseMathExactIntrinsics = true {C2 product}
  671. bool UseMaximumCompactionOnSystemGC = true {product}
  672. bool UseMembar = false {pd product}
  673. bool UseMontgomeryMultiplyIntrinsic = true {C2 product}
  674. bool UseMontgomerySquareIntrinsic = true {C2 product}
  675. bool UseMulAddIntrinsic = true {C2 product}
  676. bool UseMultiplyToLenIntrinsic = true {C2 product}
  677. bool UseNUMA = false {product}
  678. bool UseNUMAInterleaving = false {product}
  679. bool UseNewLongLShift = false {ARCH product}
  680. bool UseOSErrorReporting = false {pd product}
  681. bool UseOldInlining = true {C2 product}
  682. bool UseOnStackReplacement = true {pd product}
  683. bool UseOnlyInlinedBimorphic = true {C2 product}
  684. bool UseOprofile = false {product}
  685. bool UseOptoBiasInlining = true {C2 product}
  686. bool UsePSAdaptiveSurvivorSizePolicy = true {product}
  687. bool UseParNewGC = false {product}
  688. bool UseParallelGC := true {product}
  689. bool UseParallelOldGC = true {product}
  690. bool UsePerfData = true {product}
  691. bool UsePopCountInstruction = true {product}
  692. bool UseRDPCForConstantTableBase = false {C2 product}
  693. bool UseRTMDeopt = false {ARCH product}
  694. bool UseRTMLocking = false {ARCH product}
  695. bool UseSHA = false {product}
  696. bool UseSHA1Intrinsics = false {product}
  697. bool UseSHA256Intrinsics = false {product}
  698. bool UseSHA512Intrinsics = false {product}
  699. bool UseSHM = false {product}
  700. intx UseSSE = 4 {product}
  701. bool UseSSE42Intrinsics = true {product}
  702. bool UseSerialGC = false {product}
  703. bool UseSharedSpaces = false {product}
  704. bool UseSignalChaining = true {product}
  705. bool UseSquareToLenIntrinsic = true {C2 product}
  706. bool UseStoreImmI16 = false {ARCH product}
  707. bool UseStringDeduplication = false {product}
  708. bool UseSuperWord = true {C2 product}
  709. bool UseTLAB = true {pd product}
  710. bool UseThreadPriorities = true {pd product}
  711. bool UseTransparentHugePages = false {product}
  712. bool UseTypeProfile = true {product}
  713. bool UseTypeSpeculation = true {C2 product}
  714. bool UseUnalignedLoadStores = false {ARCH product}
  715. bool UseVMInterruptibleIO = false {product}
  716. bool UseXMMForArrayCopy = true {product}
  717. bool UseXmmI2D = false {ARCH product}
  718. bool UseXmmI2F = false {ARCH product}
  719. bool UseXmmLoadAndClearUpper = true {ARCH product}
  720. bool UseXmmRegToRegMoveAll = true {ARCH product}
  721. bool VMThreadHintNoPreempt = false {product}
  722. intx VMThreadPriority = -1 {product}
  723. intx VMThreadStackSize = 1024 {pd product}
  724. intx ValueMapInitialSize = 11 {C1 product}
  725. intx ValueMapMaxLoopSize = 8 {C1 product}
  726. intx ValueSearchLimit = 1000 {C2 product}
  727. bool VerifyMergedCPBytecodes = true {product}
  728. bool VerifySharedSpaces = false {product}
  729. intx WorkAroundNPTLTimedWaitHang = 1 {product}
  730. uintx YoungGenerationSizeIncrement = 20 {product}
  731. uintx YoungGenerationSizeSupplement = 80 {product}
  732. uintx YoungGenerationSizeSupplementDecay = 8 {product}
  733. uintx YoungPLABSize = 4096 {product}
  734. bool ZeroTLAB = false {product}
  735. intx hashCode = 5 {product}

发表评论

表情:
评论列表 (有 0 条评论,343人围观)

还没有评论,来说两句吧...

相关阅读

    相关 JVM启动参数大全默认

    其一是标准参数(-),所有的JVM实现都必须实现这些参数的功能,而且向后兼容; 其二是非标准参数(-X),默认jvm实现这些参数的功能,但是并不保证所有jvm实现都满足...