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

HPROF: agent should generate version 1.0.2 for large heaps

XMLWordPrintable

    • b55
    • generic
    • generic

      The HPROF binary format "JAVA PROFILE 1.0.1" limits records to 4GB. The agent should be updated to support the new tags defined for format "JAVA PROFILE 1.0.2". To keep compatability the agent should continue to generate 1.0.1 format for smaller heaps (<2GB for example).
      The binary HPROF format (using format=b) option contains a field that is 32bits wide that provides the byte length of the heap dump records. This size does not map simply to the size of the java heap, but observations have it matching the java heap size pretty closely. In any case this format=b format (1.0.1 version) will not accomodate large heaps. The 1.0.2 hprof format=b layout added a segment opcode that allowed for the larger heap dump to be segmented. The textual dump may have limitations with regards to size also, however this has not been investigated fully.

            ohair Kelly Ohair (Inactive)
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: