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

Dump dump created by +HeapDumpOnOutOfMemoryError should include stack traces for stack roots

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • hs14
    • 6
    • hotspot
    • svc
    • b06
    • generic
    • generic
    • Verified

        The dump file produced by +HeapDumpOnOutOfMemoryError when OutOfMemoryError is thrown includes stack roots (both locals and JNI locals). These locals are emitted to the dump with an empty stack trace. It would be desirable to emit the stack trace all threads so that the stack roots could be better understood.
        This work is also related to the new heap snapshot format that we hope to include in JDK 7, see
        https://heap-snapshot.dev.java.net/
        for more information.

              mchung Mandy Chung (Inactive)
              alanb Alan Bateman
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: