Java 查看诊断 JVM 的命令行参数
Java JVM About 21,016 words命令
使用-XX:+UnlockDiagnosticVMOptions
解锁诊断JVM
的命令行参数,通过-XX:+PrintFlagsFinal
参数查看参数。
java -XX:+UnlockDiagnosticVMOptions -XX:+PrintFlagsFinal -version | grep diagnostic
输出
❯ java -XX:+UnlockDiagnosticVMOptions -XX:+PrintFlagsFinal -version | grep diagnostic
bool AbortVMOnCompilationFailure = false {diagnostic} {default}
ccstr AbortVMOnException = {diagnostic} {default}
ccstr AbortVMOnExceptionMessage = {diagnostic} {default}
bool AbortVMOnSafepointTimeout = false {diagnostic} {default}
bool AbortVMOnVMOperationTimeout = false {diagnostic} {default}
intx AbortVMOnVMOperationTimeoutDelay = 1000 {diagnostic} {default}
bool BindCMSThreadToCPU = false {diagnostic} {default}
bool BlockOffsetArrayUseUnallocatedBlock = false {diagnostic} {default}
bool CIPrintCompileQueue = false {diagnostic} {default}
uintx CPUForCMSThread = 0 {diagnostic} {default}
bool CheckIntrinsics = true {diagnostic} {default}
uintx CodeCacheMinBlockLength = 6 {pd diagnostic} {default}
ccstr CompilerDirectivesFile = {diagnostic} {default}
bool CompilerDirectivesIgnoreCompileCommands = false {diagnostic} {default}
int CompilerDirectivesLimit = 50 {diagnostic} {default}
bool CompilerDirectivesPrint = false {diagnostic} {default}
bool DebugInlinedCalls = true {C2 diagnostic} {default}
bool DebugNonSafepoints = false {diagnostic} {default}
bool DeferInitialCardMark = false {diagnostic} {default}
ccstrlist DisableIntrinsic = {diagnostic} {default}
bool DisplayVMOutput = true {diagnostic} {default}
intx DominatorSearchLimit = 1000 {C2 diagnostic} {default}
bool DynamicallyResizeSystemDictionaries = true {diagnostic} {default}
bool EnableThreadSMRExtraValidityChecks = true {diagnostic} {default}
bool EnableThreadSMRStatistics = false {diagnostic} {default}
bool FLSVerifyAllHeapReferences = false {diagnostic} {default}
bool FLSVerifyIndexTable = false {diagnostic} {default}
bool FLSVerifyLists = false {diagnostic} {default}
bool FoldStableValues = true {diagnostic} {default}
bool ForceDynamicNumberOfGCThreads = false {diagnostic} {default}
bool ForceUnreachable = false {diagnostic} {default}
intx G1SummarizeRSetStatsPeriod = 0 {diagnostic} {default}
bool G1VerifyHeapRegionCodeRoots = false {diagnostic} {default}
bool G1VerifyRSetsDuringFullGC = false {diagnostic} {default}
uintx GCLockerRetryAllocationCount = 2 {diagnostic} {default}
bool GCParallelVerificationEnabled = true {diagnostic} {default}
intx GuaranteedSafepointInterval = 1000 {diagnostic} {default}
uint HandshakeTimeout = 0 {diagnostic} {default}
intx HotMethodDetectionLimit = 100000 {diagnostic} {default}
bool IdealizeClearArrayNode = true {C2 pd diagnostic} {default}
bool IgnoreUnverifiableClassesDuringDump = true {diagnostic} {default}
bool ImplicitNullChecks = true {pd diagnostic} {default}
intx InitArrayShortSize = 8 {pd diagnostic} {default}
bool InjectGCWorkerCreationFailure = false {diagnostic} {default}
bool InlineArrayCopy = true {diagnostic} {default}
bool InlineClassNatives = true {diagnostic} {default}
intx InlineFrequencyCount = 100 {pd diagnostic} {default}
bool InlineMathNatives = true {diagnostic} {default}
bool InlineNIOCheckIndex = true {C1 diagnostic} {default}
bool InlineNatives = true {diagnostic} {default}
bool InlineObjectCopy = true {C2 diagnostic} {default}
bool InlineObjectHash = true {diagnostic} {default}
bool InlineReflectionGetCallerClass = true {C2 diagnostic} {default}
bool InlineThreadNatives = true {diagnostic} {default}
bool InlineUnsafeOps = true {diagnostic} {default}
bool LogCompilation = false {diagnostic} {default}
bool LogEvents = true {diagnostic} {default}
uintx LogEventsBufferEntries = 20 {diagnostic} {default}
ccstr LogFile = {diagnostic} {default}
bool LogTouchedMethods = false {diagnostic} {default}
bool LogVMOutput = false {diagnostic} {default}
uintx MallocMaxTestWords = 0 {diagnostic} {default}
intx MinPassesBeforeFlush = 10 {diagnostic} {default}
bool OptimizeExpensiveOps = true {C2 diagnostic} {default}
intx ParGCCardsPerStrideChunk = 256 {diagnostic} {default}
uintx ParGCStridesPerThread = 2 {diagnostic} {default}
bool PauseAtExit = false {diagnostic} {default}
bool PauseAtStartup = false {diagnostic} {default}
ccstr PauseAtStartupFile = {diagnostic} {default}
bool PrintAdapterHandlers = false {diagnostic} {default}
bool PrintAssembly = false {diagnostic} {default}
ccstr PrintAssemblyOptions = {diagnostic} {default}
bool PrintBiasedLockingStatistics = false {diagnostic} {default}
bool PrintCompilation2 = false {diagnostic} {default}
bool PrintInlining = false {diagnostic} {default}
bool PrintInterpreter = false {diagnostic} {default}
bool PrintIntrinsics = false {C2 diagnostic} {default}
bool PrintMetaspaceStatisticsAtExit = false {diagnostic} {default}
bool PrintMethodData = false {diagnostic} {default}
bool PrintMethodFlushingStatistics = false {diagnostic} {default}
bool PrintMethodHandleStubs = false {diagnostic} {default}
bool PrintNMTStatistics = false {diagnostic} {default}
bool PrintNMethods = false {diagnostic} {default}
bool PrintNativeNMethods = false {diagnostic} {default}
bool PrintOptoAssembly = false {C2 diagnostic} {default}
bool PrintPreciseBiasedLockingStatistics = false {C2 diagnostic} {default}
bool PrintPreciseRTMLockingStatistics = false {C2 diagnostic} {default}
bool PrintSignatureHandlers = false {diagnostic} {default}
bool PrintStubCode = false {diagnostic} {default}
bool PrintTouchedMethodsAtExit = false {diagnostic} {default}
bool ProfileDynamicTypes = true {C2 diagnostic} {default}
intx ProfilerNumberOfCompiledMethods = 25 {diagnostic} {default}
intx ProfilerNumberOfInterpretedMethods = 25 {diagnostic} {default}
intx ProfilerNumberOfRuntimeStubNodes = 25 {diagnostic} {default}
intx ProfilerNumberOfStubMethods = 25 {diagnostic} {default}
bool ReduceNumberOfCompilerThreads = true {diagnostic} {default}
bool SafepointALot = false {diagnostic} {default}
intx ScavengeRootsInCode = 2 {diagnostic} {default}
bool SerializeVMOutput = true {diagnostic} {default}
bool ShenandoahAllocFailureALot = false {diagnostic} {default}
bool ShenandoahCASBarrier = true {diagnostic} {default}
bool ShenandoahCloneBarrier = true {diagnostic} {default}
uintx ShenandoahCodeRootsStyle = 2 {diagnostic} {default}
bool ShenandoahDegeneratedGC = true {diagnostic} {default}
bool ShenandoahElasticTLAB = true {diagnostic} {default}
bool ShenandoahHumongousMoves = true {diagnostic} {default}
bool ShenandoahIUBarrier = false {diagnostic} {default}
bool ShenandoahLoadRefBarrier = true {diagnostic} {default}
bool ShenandoahLoopOptsAfterExpansion = true {diagnostic} {default}
bool ShenandoahOOMDuringEvacALot = false {diagnostic} {default}
bool ShenandoahOptimizeStaticFinals = true {diagnostic} {default}
bool ShenandoahPreclean = true {diagnostic} {default}
bool ShenandoahSATBBarrier = true {diagnostic} {default}
bool ShenandoahSelfFixing = true {diagnostic} {default}
bool ShenandoahVerify = false {diagnostic} {default}
intx ShenandoahVerifyLevel = 4 {diagnostic} {default}
bool ShowHiddenFrames = false {diagnostic} {default}
bool ShowRegistersOnAssert = false {diagnostic} {default}
bool SpecialArraysEquals = true {C2 diagnostic} {default}
bool SpecialEncodeISOArray = true {C2 diagnostic} {default}
bool SpecialStringCompareTo = true {C2 diagnostic} {default}
bool SpecialStringEquals = true {C2 diagnostic} {default}
bool SpecialStringIndexOf = true {C2 diagnostic} {default}
bool StressCodeAging = false {diagnostic} {default}
bool StressGCM = false {C2 diagnostic} {default}
bool StressLCM = false {C2 diagnostic} {default}
bool StringDeduplicationRehashALot = false {diagnostic} {default}
bool StringDeduplicationResizeALot = false {diagnostic} {default}
bool TraceCompilerThreads = false {diagnostic} {default}
bool TraceJVMTIObjectTagging = false {diagnostic} {default}
bool TraceNMethodInstalls = false {diagnostic} {default}
bool TraceSpilling = false {C2 diagnostic} {default}
bool TraceTypeProfile = false {C2 diagnostic} {default}
bool UnlockDiagnosticVMOptions = true {diagnostic} {command line}
bool UseAESCTRIntrinsics = false {diagnostic} {default}
bool UseAESIntrinsics = false {diagnostic} {default}
bool UseAOTStrictLoading = false {diagnostic} {default}
bool UseAdler32Intrinsics = true {diagnostic} {default}
int UseBootstrapCallInfo = 1 {diagnostic} {default}
bool UseCRC32CIntrinsics = true {diagnostic} {default}
bool UseCRC32Intrinsics = true {diagnostic} {default}
bool UseCharacterCompareIntrinsics = false {C2 diagnostic} {default}
bool UseCopySignIntrinsic = false {diagnostic} {default}
bool UseGHASHIntrinsics = false {diagnostic} {default}
bool UseImplicitStableValues = true {C2 diagnostic} {default}
bool UseInlineDepthForSpeculativeTypes = true {C2 diagnostic} {default}
bool UseMathExactIntrinsics = true {C2 diagnostic} {default}
bool UseMontgomeryMultiplyIntrinsic = true {C2 diagnostic} {default}
bool UseMontgomerySquareIntrinsic = true {C2 diagnostic} {default}
bool UseMulAddIntrinsic = true {C2 diagnostic} {default}
bool UseMultiplyToLenIntrinsic = true {C2 diagnostic} {default}
bool UseNewCode = false {diagnostic} {default}
bool UseNewCode2 = false {diagnostic} {default}
bool UseNewCode3 = false {diagnostic} {default}
bool UseSHA1Intrinsics = false {diagnostic} {default}
bool UseSHA256Intrinsics = false {diagnostic} {default}
bool UseSHA512Intrinsics = false {diagnostic} {default}
bool UseSemaphoreGCThreadsSynchronization = true {diagnostic} {default}
bool UseSignumIntrinsic = false {diagnostic} {default}
bool UseSquareToLenIntrinsic = true {C2 diagnostic} {default}
bool UseSwitchProfiling = true {diagnostic} {default}
bool UseUnalignedAccesses = true {diagnostic} {default}
bool UseVectorizedMismatchIntrinsic = false {diagnostic} {default}
bool VerifyAdapterCalls = false {diagnostic} {default}
bool VerifyAfterGC = false {diagnostic} {default}
bool VerifyBeforeExit = false {diagnostic} {default}
bool VerifyBeforeGC = false {diagnostic} {default}
bool VerifyBeforeIteration = false {diagnostic} {default}
bool VerifyDuringGC = false {diagnostic} {default}
bool VerifyDuringStartup = false {diagnostic} {default}
intx VerifyGCLevel = 0 {diagnostic} {default}
uintx VerifyGCStartAt = 0 {diagnostic} {default}
ccstrlist VerifyGCType = {diagnostic} {default}
bool VerifyMethodHandles = false {diagnostic} {default}
bool VerifyObjectStartArray = true {diagnostic} {default}
bool VerifyRememberedSets = false {diagnostic} {default}
bool VerifyStringTableAtExit = false {diagnostic} {default}
ccstrlist VerifySubSet = {diagnostic} {default}
bool WhiteBoxAPI = false {diagnostic} {default}
openjdk version "11.0.17" 2022-10-18
OpenJDK Runtime Environment Temurin-11.0.17+8 (build 11.0.17+8)
OpenJDK 64-Bit Server VM Temurin-11.0.17+8 (build 11.0.17+8, mixed mode)
Views: 1,028 · Posted: 2023-06-13
————        END        ————
Give me a Star, Thanks:)
https://github.com/fendoudebb/LiteNote扫描下方二维码关注公众号和小程序↓↓↓
Loading...