美文网首页
jvm调优工具的使用springboot

jvm调优工具的使用springboot

作者: 不知不怪 | 来源:发表于2020-04-11 23:26 被阅读0次

    1参考

    https://www.jianshu.com/p/923580d3a5a2

    2启动时

    java \
     -Dcom.sun.management.jmxremote.authenticate=false \
     -Dcom.sun.management.jmxremote.ssl=false \
     -Dcom.sun.management.jmxremote.port=1099 \
     -Djava.rmi.server.hostname=192.168.145.138 \
     -jar 01-spring-boot-helloWorld-1.0.jar &
    

    hostname 本机IP
    port :jmx 端口

    3启用jconsole或jvisualvm

    相关文章

      网友评论

          本文标题:jvm调优工具的使用springboot

          本文链接:https://www.haomeiwen.com/subject/lukmmhtx.html