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

Handle OopStorage in location decoder

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 24
    • 24
    • hotspot
    • None
    • b17

      Currently, when there is a pointer into OopStorage that we need to decode the error log, we just print:
        0x00007ad45c169e10 into live malloced block starting at 0x00007ad45c169dd0, size 632, tag mtInternal

      This is reported by NMT after JDK-8304815. We can actually decode which block in which OopStorage the address likely belongs to. This becomes handy when debugging GC crashes that involve OopStorage-handled roots.

      My current patch is able to print this instead:
        0x0000000102c05bd0 is a pointer 2/64 in block 0 in oop storage "VM Global"

            shade Aleksey Shipilev
            shade Aleksey Shipilev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: