VisualVM gets significantly improved profiling capabilities by introducing the Startup Profiler plugin, a tool to profile applications startup and short-lived processes. The feature requested by many Java developers is now available on the VisualVM 1.3.6 Plugins Center.
Startup Profiler supports instrumented CPU and memory profiling of local Java 5+ applications started by the user running the host VisualVM instance. Sharing the VisualVM Profiler settings and presets, it seamlessly extends profiling features of the tool.
The plugin enables VisualVM to connect to a Java process started for blocking attach. This means, the application startup is paused until the profiler connects, so the code can be profiled from beginning. This way the plugin also helps to profile short-lived processes, which would otherwise finish sooner than noticed by VisualVM or configured by the user for profiling.
To get the plugin and detailed online documentation, visit https://visualvm.java.net/startupprofiler.html. Further assistance for the plugin can be obtained on VisualVM mailing lists email@example.com and firstname.lastname@example.org.