Skip to content

Instantly share code, notes, and snippets.

@eyalgo
Created February 22, 2015 09:56
Show Gist options
  • Save eyalgo/918de7f5b050052fd955 to your computer and use it in GitHub Desktop.
Save eyalgo/918de7f5b050052fd955 to your computer and use it in GitHub Desktop.
Add the following in your jvm arguments:
-XX:+UnlockCommercialFeatures -XX:+FlightRecorder -Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.port=3614 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false
(the first two are a must. I am not sure about the others…)
In JAVA_HOME/bin, you will find jmc.exe
Run it.
You can then configure your flight control.
See http://www.prosysopc.com/blog/using-java-mission-control-for-performance-monitoring/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment