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

OopStorage location decoder crashes accessing non-initalized OopStorage

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 24
    • 24
    • 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.

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

              Created:
              Updated:
              Resolved: