Issue Details (XML | Word | Printable)

Key: HAT-2
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: hat-issues
Reporter: robfcollier
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
hat

baseline parse fails with jdk1.5

Created: 23/Dec/04 08:06 AM   Updated: 23/Dec/04 08:06 AM
Component/s: www
Affects Version/s: current
Fix Version/s: milestone 1

Time Tracking:
Not Specified

Environment:

Operating System: All
Platform: All


Issuezilla Id: 2
Tags:
Participants: hat-issues and robfcollier


 Description  « Hide

jdk1.5 is working except for when I try to compare two dumps (jdk1.4 is not
working at all but that's been reported).

I've tried many permutations of jvm arguments including:
-agentlib:hprof=file=dump.hprof,format=b
and
-agentlib:hprof=file=dump.hprof,format=b,doe=n,verbose=y,lineno=n

>c:\jdk1.5\bin\java -jar hat.jar -baseline dump.hprof#1 dump.hprof#2
Started HTTP server on port 7000
Reading from dump.hprof#2...
Dump file created Wed Dec 22 19:01:36 EST 2004
java.io.IOException: Class 0x50000106 not found.
at hat.parser.HprofReader.readInstanceDeferred(HprofReader.java:739)
at hat.parser.HprofReader.readDeferredInstances(HprofReader.java:467)
at hat.parser.HprofReader.readHeapDump(HprofReader.java:451)
at hat.parser.HprofReader.read(HprofReader.java:221)
at hat.parser.Reader.readFile(Reader.java:90)
at hat.Main.main(Main.java:149)

The hprof file from a tomcat 4.1 session is too large to include so I'm hoping
it can be reproduced easily. In the past, I have found leaks by taking two
snapshots after test runs that end with invalidating the web session and
looking for new objects.



There are no comments yet on this issue.