Skip to content

Instantly share code, notes, and snippets.

@yangl
Created June 22, 2017 08:18
Show Gist options
  • Save yangl/01f43eaecd4bf0e0cedf3a1fa7583d13 to your computer and use it in GitHub Desktop.
Save yangl/01f43eaecd4bf0e0cedf3a1fa7583d13 to your computer and use it in GitHub Desktop.
jmc(全称 Java Mission Control)使用指南
1.JVM参数中添加-XX:+UnlockCommercialFeatures -XX:+FlightRecorder启用jmc,
然后打开jmx(-Dcom.sun.management.jmxremote.port=1099 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false)即可;
2.到JAVA_HOME/bin/下打开jmc客户端即可;
3.填写jmx地址连接;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment