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

Java heap dump doesn't contain klass mirror objects unless they are explicitly referenced

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Cannot Reproduce
    • Affects Version/s: 9
    • Fix Version/s: 10
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      svc

      Description

      VM doesn't dump Java class mirror objects unless they are part of root set or referenced from other Java objects. It means that for most classes their mirrors are absent in a heap dump. Since mirror object contains reference fields, its referents are shown as dangling objects (no incoming refs).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                coleenp Coleen Phillimore
                Reporter:
                vlivanov Vladimir Ivanov
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: