[心缘地方]同学录
首页 | 功能说明 | 站长通知 | 最近更新 | 编码查看转换 | 代码下载 | 常见问题及讨论 | 《深入解析ASP核心技术》 | 王小鸭自动发工资条VBA版
登录系统:用户名: 密码: 如果要讨论问题,请先注册。

[备忘]jinfo动态设置jvm的flag变量

上一篇:[备忘]官网 Troubleshooting Guide for Java SE 6 with HotSpot VM
下一篇:[备忘]python,selenium,获取文本为空

添加日期:2021/11/1 16:51:06 快速返回   返回列表 阅读633次
C:\Program Files\Java\jdk1.8.0_131\bin>jinfo
Usage:
    jinfo [option] <pid>
        (to connect to running process)
    jinfo [option] <executable <core>
        (to connect to a core file)
    jinfo [option] [server_id@]<remote server IP or hostname>
        (to connect to remote debug server)

where <option> is one of:
    -flag <name>         to print the value of the named VM flag
    -flag [+|-]<name>    to enable or disable the named VM flag
    -flag <name>=<value> to set the named VM flag to the given value
    -flags               to print VM flags
    -sysprops            to print Java system properties
    <no option>          to print both of the above
    -h | -help           to print this help message

C:\Program Files\Java\jdk1.8.0_131\bin>jinfo -flag PrintGC 17276
-XX:-PrintGC

C:\Program Files\Java\jdk1.8.0_131\bin>jinfo -flag PrintClassHistogram 17276
-XX:-PrintClassHistogram

C:\Program Files\Java\jdk1.8.0_131\bin>jinfo -flag HeapDumpPath 17276
-XX:HeapDumpPath=
 

评论 COMMENTS
没有评论 No Comments.

添加评论 Add new comment.
昵称 Name:
评论内容 Comment:
验证码(不区分大小写)
Validation Code:
(not case sensitive)
看不清?点这里换一张!(Change it here!)
 
评论由管理员查看后才能显示。the comment will be showed after it is checked by admin.
CopyRight © 心缘地方 2005-2999. All Rights Reserved