Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7903579

JOL: Heap dump parser handles superclasses incorrectly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • None
    • None
    • tools
    • None
    • jol

      Current heap dump parser relies on class records to appear after the superclass records appear. This does not actually hold for hprof: we can emit the subclass records first, and only then emit the superclass records.

      Therefore, current heap dump reader is broken when it encounters hierarchical classes. It would then underestimate the footprint of subclasses, because it does not record superclasses.

            shade Aleksey Shipilev
            shade Aleksey Shipilev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: