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

hprof record length overflow(unsigned 4 byte integer) with 64 bit environment

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • 8
    • 7, 8
    • core-svc

      FULL PRODUCT VERSION :


      A DESCRIPTION OF THE PROBLEM :
      hprof heap dump has record length of 4 bytes:
      LENGTH: number of bytes that follow this u4 field and belong to this record
      If record is longer than u4, it will overflow. This problem was reported to the eclipse community as well. For detailed example, see

      https://bugs.eclipse.org/bugs/show_bug.cgi?id=404679

      The most common overflow comes from heap dump/segment(0x0c,0x1c)


      REPRODUCIBILITY :
      This bug can be reproduced always.

            farvidsson Fredrik Arvidsson (Inactive)
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: