Java performance tuning tools
There are many tools available in the market to analyze and monitor Java applications that help us to find which part of the code should be optimized. Some of them are as follows:
- NetBeans profiler for analyzing java application
- JAMon, Java Application Monitor
- GCViewer, which visualizes verbose garbage collection data generated by Sun and IBM Java Virtual Machines (JVM)
- HPjmeter , which is specific to Methods/Object
- HPjtune—JVM
NetBean profiler for analyzing Java applications
The NetBeans profiler is a powerful tool that provides important information about the runtime behavior of an application. The NetBeans profiler helps in tracking the following things:
- Thread state
- CPU performance
- Memory usage
- Object creation
- Method creation
Thread state
Threads (Timeline) shows the current and historical thread state, updated as the application runs.
Threads (Details) shows a summary of the thread state information for a single thread.
Refer to the following screenshot:
Following...