Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6296437

HPROF: hat is throwing exception on hprof output in mustang

XMLWordPrintable

    • b55
    • sparc
    • solaris_10

      I'm trying to use hat tool from http://hat.dev.java.net, with the
        latest mustang build, and it's not going too well.

        hat throws this exception when trying to parse the binary output
        file created by hprof:
      #>/import/java/jdk1.6.0/solaris-sparc/bin/java -client -version
      java version "1.6.0-ea"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-ea-b42)
      Java HotSpot(TM) Client VM (build 1.6.0-ea-b42, mixed mode)

      /import/java/jdk1.6.0/solaris-sparc/bin/java -client -agentlib:hprof=depth=6,format=b LeakWindow

      [tdv@nukite:] -< ~/public_html/bugs/disposer_leak >
      #>/import/java/jdk1.6.0/solaris-sparc/bin/java -jar ~/perf/hat/bin/hat.jar ./java.hprof
      Started HTTP server on port 7000
      Reading from ./java.hprof...
      Dump file created Thu Feb 27 04:56:57 PST 1992
      java.io.IOException: Thread 200001 not found for JNI local ref
              at hat.parser.HprofReader.getThreadObjectFromSequence(HprofReader.java:577)
              at hat.parser.HprofReader.readHeapDump(HprofReader.java:379)
              at hat.parser.HprofReader.read(HprofReader.java:221)
              at hat.parser.Reader.readFile(Reader.java:90)
              at hat.Main.main(Main.java:149)

      I've attached the hprof file.

      ###@###.### 2005-07-13 18:02:42 GMT

            ohair Kelly Ohair (Inactive)
            tdv Dmitri Trembovetski (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: