Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Getting HAT and HPROF working with Apple Java 1.4.2, Update 2



I'm having problems getting HPROF, and the associated HAT, working
with the latest Panther Java release.  When I run a program with
profiling, as in

% java -Xrunhprof:heap=all,depth=200,doe=n,thread=y,format=b -verbose:gc -Xmx500m -jar ...

I get the following complaints from HPROF:

HPROF ERROR: unable to resolve a method id
HPROF ERROR : got a NULL trace in class_load
HPROF ERROR: class ID already in use

Then, when I attempt to run hat:

% /usr/local/bin/hat java.hprof
Started HTTP server on port 7000
Reading from java.hprof...
java.io.IOException: Unrecognized magic number: 28303885
	at hat.parser.Reader.readFile(Reader.java:99)
	at hat.Main.main(Main.java:149)
%

Anyone have any ideas?

Bill 
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.