OopStorage location decoder crashes accessing non-initalized OopStorage

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 24
    • Affects Version/s: 24
    • Component/s: hotspot
    • None
    • b18

      When debugging CDS, I asked for os::print_location before OopStorage was initialized. This is a fairly unusual situation, this is why we have not seen it before. Anyhow, we entered the new code added by JDK-8340392, which crashed on `OopStorage` that was `nullptr`. I think we should null-check `OopStorage` before calling into it.

            Assignee:
            Aleksey Shipilev
            Reporter:
            Aleksey Shipilev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: