JOL: Correct mark header size for Lilliput V2 in object internals

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: tools
    • None
    • jol

      JOL object internals prints the wrong mark header size for Lilliput V2:

      ```
      java.lang.String object internals:
      OFF SZ TYPE DESCRIPTION VALUE
        0 8 (object header: mark) 0x0036449200bc8001 (Lilliput)
        4 4 int String.hash 3556498
      ```

      Size is 8 bytes, but it should be 4. The value is also similarly wrong. Subsequent fields are not affected, and have correct offsets.

            Assignee:
            Oli Gillespie
            Reporter:
            Oli Gillespie
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: