CPU profiling misses most of our code

Questions about YourKit Java Profiler
Post Reply
brettb
Posts: 5
Joined: Mon Nov 28, 2005 3:20 pm

CPU profiling misses most of our code

Post by brettb »

YJP 5.0.4, Win2K on a 2.4G P4, JDK 1.5.0_05, IDE: Intelli-J 5.0.2, JVMTI

I've been using YJP 4.0.14 for some time now. I recently upgraded to YJP 5.0.4, and have been unable to get reliable CPU profiles. I measure CPU times, run my use case, and take a snapshot. Usually only a very small fraction of our code is actually profiled. It seems similar to the unreliable results that we got with CPU sampling in 4.0.14. Neither CPU times nor CPU times and method invocations yield accurate results.

Is there a setting somewhere to enable the equivalent of 4.0.14's method tracing?
Vladimir Kondratyev
Posts: 1626
Joined: Tue Aug 10, 2004 7:52 pm

Post by Vladimir Kondratyev »

Couldn't you please provide a small sample program which demonstrates the problem?
brettb
Posts: 5
Joined: Mon Nov 28, 2005 3:20 pm

Post by brettb »

I have not tried to create a sample program.

Our application is very large (and proprietary), so I can't ship that to you for evaluation.

I could take screen snapshots of a CPU profiled use case under 4.0.14 and 5.0.2 to show you the difference - would that help?
Vladimir Kondratyev
Posts: 1626
Joined: Tue Aug 10, 2004 7:52 pm

Post by Vladimir Kondratyev »

OK. Please take two snapshots (4.x version and 5.x version) and upload them to our FTP server. Here is a connection parameters:
ftp://194.24.241.196
user: ftp
empty password

Also please write brief decsription of the problem.
brettb
Posts: 5
Joined: Mon Nov 28, 2005 3:20 pm

Post by brettb »

Done. I've uploaded the files: YJP4.0.14.cpu, YJP5.0.5.cpu, and problem_description.txt.
Vladimir Kondratyev
Posts: 1626
Joined: Tue Aug 10, 2004 7:52 pm

Post by Vladimir Kondratyev »

Thank you very much. We realize that snapshot files is a confidential information and they will not be transfered to any third party (we'll destroy these files as soon as perform debugging).

Regards,
Vladimir
Post Reply