Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Java Profiler

Reply
Thread Tools

Java Profiler

 
 
Rob Shepherd
Guest
Posts: n/a
 
      05-17-2004
I'm trying to run an application through the java profiler

java -Xrunhprof:cpu=samples TestClassA 10

The code works fine when not profiled

Profiler spits out

HPROF ERROR: class ID already in use
Dumping CPU usage by sampling running threads ... done.

google gives me no clues...

Anybody know what this could mean?

cheers

Rob


 
Reply With Quote
 
 
 
 
Angus
Guest
Posts: n/a
 
      05-17-2004
Rob Shepherd wrote:
>
> I'm trying to run an application through the java profiler
>
> java -Xrunhprof:cpu=samples TestClassA 10
>
> The code works fine when not profiled
>
> Profiler spits out
>
> HPROF ERROR: class ID already in use
> Dumping CPU usage by sampling running threads ... done.
>
> google gives me no clues...
>
> Anybody know what this could mean?


No I don't know what that means, but I get it too and it looks
like it doesn't affect the output of the profiler. Give it a
try.

Good Luck,
Avi.
 
Reply With Quote
 
 
 
 
Roedy Green
Guest
Posts: n/a
 
      05-17-2004
On Mon, 17 May 2004 12:10:57 +0100, Rob Shepherd
<(E-Mail Removed)> wrote or quoted :

>HPROF ERROR: class ID already in use
>Dumping CPU usage by sampling running threads ... done.


I wonder if HPROF uses the hash key of a class as an id. You can get
collisions every once in a while.

--
Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Easy Profiler - Compile-time profiler for C++ potatosoftware C++ 0 11-04-2009 04:46 PM
java profiler Rajesh.Rapaka Java 1 05-18-2005 10:23 PM
Best Java Profiler? Chris Java 1 11-24-2004 09:17 AM
Java Performance Profiler Fatih Java 4 10-07-2004 07:25 PM
Java Profiler in JDK? Robert Mark Bram Java 2 11-19-2003 11:16 AM



Advertisments