profiling java applications with jvisualvm
yangyi
· 2011-09-29 18:52 · Java · Web · 编程语言
· Markdown
- Open jvisualvm, which is bundled with the standard javase 6 release. It is placed under $JAVA_HOME/bin, implemented with the Netbeans framework.
- Click on the samples tag. Here we have 2 factors for profiling, CPU and Memory.
- Click Settings, choose "include only packages" and setup the app packages you want to monitor, then click CPU.
- Make operations on the GUI or client interface, you will the sample CPU time from the jvisualvm window.
