On Tue, Apr 15, 2014 at 7:58 PM, Christopher Schultz < ch...@christopherschultz.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > Shanti, > > On 4/15/14, 10:51 AM, Shanti Suresh wrote: > > Taking it one step further, could I request some recommendations on > > how we might profile Java code running inside Tomcat? Often, I am > > stuck with finding out why an application is slow. It could be a > > consistent, progressive or a sudden problem. These applications > > do not expose metrics via MBeans. Say, for e.g., a vendor > > application which has been heavily customized in-house. > > You need to use a Profiler for that. There are a number of fine > Profilers available for Java. I use YourKit because they give free > licenses to ASF committers. > > Hello Chris, et al, last time I tried to use a profile on a production site it killed it within a second. Usually the performance overhead of a profiler is so huge, that you have no chance to run it in production. And real problems do not occur in test labs ;-) Leon