Best and safest Java Profiler for production use?
Posted
by
Pete
on Stack Overflow
See other posts from Stack Overflow
or by Pete
Published on 2010-08-26T00:04:43Z
Indexed on
2010/12/22
18:54 UTC
Read the original article
Hit count: 212
I'm looking for a Java Profiler for use in a very high demand production environment, either commercial or free, that meets all of the following requirements:
- Lightweight integration with code (no recompile with special options, no code hooks, etc). Dropping some profiler specific .jars alongside the application code is ok.
- Should be able to connect/disconnect to the JVM without restarting the application.
- When profiling is not active, no impact to performance
- When profiling is active, negligible impact to performance. Very slight degradation is acceptable.
- Must do all the 'expected' stuff a profiler does - time spent in each method to find hotspots, object allocation/memory profiling, etc.
Essentially I need something that can sit dormant in production when everything is fine without anyone knowing or caring that it is there, but then be able to connect to it hassle (and performance degradation) free to pinpoint the hard to find problems like hotspots and synchronization issues.
© Stack Overflow or respective owner