问题
hotspot如何解析命令行传入的参数?
hotspot内部共有多少参数?
参数配置
调试
参数汇总
- 命令行查看
java -XX:+UseConcMarkSweepGC -XX:+PrintFlagsFinal -version | grep ParallelGCThreads
- 代码查看
# globals.hpp中宏定义
#define RUNTIME_FLAGS(develop, develop_pd, product, product_pd, diagnostic, experimental, notproduct, manageable, product_rw, lp64_product)
- 程序查看
JVMPocket6