如何防止Java创建hsperfdata文件?

如何防止Java创建hsperfdata文件?,第1张

如何防止Java创建hsperfdata文件?

尝试JVM选项 -XX:-UsePerfData

更多信息

来自链接https://docs.oracle.com/javase/8/docs/technotes/tools/unix/java.html的以下内容可能会有所帮助

-XX:+UsePerfData    Enables the perfdata feature. This option is enabled by default    to allow JVM monitoring and performance testing. Disabling it     suppresses the creation of the hsperfdata_userid directories.     To disable the perfdata feature, specify -XX:-UsePerfData.


欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/zaji/5164898.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-11-19
下一篇2022-11-18

发表评论

登录后才能评论

评论列表(0条)

    保存