Allocate in DumpRegion is not thread safe

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 16
    • Affects Version/s: None
    • Component/s: hotspot
    • None
    • b17
    • generic

      At CDS dump time, allocating symbol from DumpRegion is not protected in MT mode. There is time issue and it will trigger assert in debug or crash in product though it is very rarely. We need a lock to protect DumpRegion in MetaspaceShared::symbol_space_alloc(...).

            Assignee:
            Yumin Qi
            Reporter:
            Yumin Qi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: