NEWHPROF: manual incorrectly specifies array object field

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 6
    • Affects Version/s: 5.0
    • Component/s: tools
    • 1.5
    • 5.0
    • b10
    • generic
    • generic

        This only relates to the binary format of hprof.

        > The first is a documentation error, I think. In the
        > "OBJECT ARRAY DUMP", it says the fourth element is the
        > "element class object ID." It's not; it's really the
        > array class object ID. That is, if there's an array
        > of Foo, this field points to the class "Foo[]", not to
        > the class "Foo". The element type is "Foo". It makes
        > more sense and is more useful to have an array class
        > object ID (that is, a pointer to the class "Foo[]", which
        > is what you get with JDK 1.5), so I think the thing to do
        > is change the docs. I don't know what JDK 1.2 did, or the
        > various intermediates.

              Assignee:
              Kelly Ohair (Inactive)
              Reporter:
              Kelly Ohair (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: