-XX:+PrintCommandLineFlags 电玩女神 2024-03-17 15:40 29阅读 0赞 `-XX:+PrintCommandLineFlags` 把传递给虚拟机的参数输出(**隐式传递+显式传递**) ![在这里插入图片描述][a35641db375148718def1bb1782393b5.png] **控制台打印信息** \-XX:ConcGCThreads=3 -XX:G1ConcRefinementThreads=13 -XX:GCDrainStackTargetSize=64 -XX:InitialHeapSize=254884992 -XX:MarkStackSize=4194304 -XX:MaxHeapSize=4078159872 -XX:MinHeapSize=6815736 -XX:+PrintCommandLineFlags -XX:ReservedCodeCacheSize=251658240 -XX:+SegmentedCodeCache -XX:+UseCompressedClassPointers -XX:+UseCompressedOops -XX:+UseG1GC -XX:-UseLargePagesIndividualAllocation -------------------- ![在这里插入图片描述][5f83996ec19c482190f4900173e385ee.png] **控制台打印信息** \-XX:ConcGCThreads=3 -XX:G1ConcRefinementThreads=13 -XX:GCDrainStackTargetSize=64 `-XX:InitialHeapSize=67108864` \-XX:MarkStackSize=4194304 `-XX:MaxHeapSize=134217728` `-XX:MinHeapSize=67108864` \-XX:+PrintCommandLineFlags -XX:ReservedCodeCacheSize=251658240 -XX:+SegmentedCodeCache -XX:+UseCompressedClassPointers -XX:+UseCompressedOops -XX:+UseG1GC -XX:-UseLargePagesIndividualAllocation -------------------- **Further Reading : [JVM常用参数][JVM]** [a35641db375148718def1bb1782393b5.png]: https://image.dandelioncloud.cn/pgy_files/images/2024/03/15/0a9fceaf9e3847bd92e792895a3956c2.png [5f83996ec19c482190f4900173e385ee.png]: https://image.dandelioncloud.cn/pgy_files/images/2024/03/15/fa4d6efe1d024f7bbab78f4e5c86206a.png [JVM]: https://blog.csdn.net/weixin_37646636/article/details/108055565
还没有评论,来说两句吧...