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

HPROF: No heap dump generated (java.exe crashes or HPROF ERROR: heap dump size < 0)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: 1.4.0, 1.4.1, 1.4.2
    • Fix Version/s: None
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • Introduced In Build:
      1.4.1
    • Introduced In Version:
    • CPU:
      x86, sparc
    • OS:
      generic, solaris_8

      Description

      To reproduce:
      java -Xrunhprof:heap=all -jar SwingSet2.jar

      Error got:
      HPROF ERROR: heap dump size < 0

      This is an intermittent error. Sometimes I also got the error when running
      hprof on Jmol application too or using -Xrunhprof:heap=dump too.

      See 4489387 and 4491764 for related info.

      This heap dump problem occurs on all platforms.


      -------------------------------------------
      updated 09/19/02 ###@###.###

      I ran the below command using J2SE 1.4.1-b21 on win2k and once the application starts loading, initiate heap dumps through CTRL-BREAK.

      $ /cygdrive/d/tmp/j2sdk1.4.1/bin/java -showversion -jar -Xrunhprof:heap=all ./SwingSet2.jar

      Try to take consecutive heap dumps (CTRL+BREAK) when the SwingSet2 demo is starting up and you will get the java.exe crash error. Licensee first discovered issue when taking heap snapshots in MemoryDebugger while the
      application being profiled was still being loaded. Dr Watson logs a java.exe crash when testing for this same functionality under -Xrunhprof:heap=all.

      Customer says this issue seems to have started around build 1.4.1-rc-b20. It exists in 1.4.1-rc-b21 as well. They did not get java.exe crash error under 1.4.1-rc-b18.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ohair Kelly Ohair (Inactive)
                Reporter:
                mchung Mandy Chung
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: