其他分享
首页 > 其他分享> > 查看 JVM 默认参数

查看 JVM 默认参数

作者:互联网

-XX:+PrintFlagsFinal

可以获取所有可设置参数及值

获取 JVM 默认 Xss 大小

java -XX:+PrintFlagsFinal -version | grep ThreadStackSize
     intx CompilerThreadStackSize                   = 0                                   {pd product}
     intx ThreadStackSize                           = 1024                                {pd product}
     intx VMThreadStackSize                         = 1024                                {pd product}
java version "1.8.0_65"
Java(TM) SE Runtime Environment (build 1.8.0_65-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.65-b01, mixed mode)

标签:product,Java,JVM,查看,1.8,默认,pd,intx
来源: https://www.cnblogs.com/klvchen/p/11890982.html