-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Leon,
On 4/15/14, 3:45 PM, Leon Rosenberg wrote: > 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. +1 Profiling in production is a terrible idea. > 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 ;-) Performance problems can usually be reproduced in labs. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJTTY8pAAoJEBzwKT+lPKRYezUQALIQ8Vy124z/ZZZum3IqpEhy F5nk5rdDZLBtQF7wT8WH68fo254MNSvCPqfOLKfwDKGuMEl+RTxFg58k96Ii7e+S xC6wQwInJefdEtB1jz2E4hic8artLpAfjDPlXCT8DRHdLEWUF3qQ43H994/I3Ybs go41WFtP2+8aZaZnGQI664TGaERlrOJRu3AfMjU2VErG3kCJeeR/BFXhj7tZu/1Y 8cXt2CouFmKFYl5KNisI/3gfJ8X3hEGowZkGyswzSh+DkWIgxQMM7grnntHoxFtP iHlzQPdOB+gXmt2e2SISDc7HZNITRiBRvas8Q/+/xMiNJTbrRuKdRST6YKp3+AIt KuobyjJixJ0GuwjqW7P5/v+rP/PgF+eAT79FKtvKELUuRophh6e1ifO7osNkAkyp qCi+HoiThS9DfjJHdQnK9+uGMxRCirTvVIoNqHrJP4WJkxFeVRJQN1OKWaw+n/Xn SPAehFUZiUgS07NaR79lPvkHl8kXOAvrEEREwW6copv5c4BTQ/WlNYPG+2oRWmeZ YqTBS4bbZclV69Pg6cSSbfZGF/kmYq5zBKDOGIUHPF2zX4IoPmraU8IOLElIiS7o 0a5P64SLAsvOs4KnRJ4nFZSN80MwV6rODI2376+LlcdLjlQCmxoRiyNJMTOEqMUy dDn0cVrr7PzF0fpWoQN9 =F8p+ -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org