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

SA: Add support to print the reference chain of a given address in the Java Heap

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: 7u85, 8u60, 9
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Labels:

      Description

      Most of the GC crashes occur due to the corruption of Oops in the Java heap, and when either the application code or the GC code tries to access those corrupted objects. And in most of these cases, the only data available for debugging/analysis is the core file of the crashed process.

      The first thing that we are interested to find is how the bad object causing the crash was reachable. The reference chain to the corrupted oop greatly helps in the investigation process.

      Current we build this reference chain manually using the 'search' feature in SA. It would be very helpful to have a functionality in SA whereby it can print the reference chain holding on to the object that caused the crash.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              poonam Poonam Bajaj Parhar
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: