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

NEWHPROF: manual incorrectly specifies array object field

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 6
    • 5.0
    • 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.

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: