• Download from VisualVM website the application installer and extract it to a local folder
  • Run VisualVM.exe to start the application
  • Start your java application. Before starting the application you have to edit java_opts and add the following options
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=7009
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false
  • Add JMX Connection to the port defined and start the profiling
You can see an overview of CPU, Threads, Classes and Heap
Or see details of active threads
Or start the CPU profiling

By admin