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

Allocate in DumpRegion is not thread safe

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 16
    • None
    • 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(...).

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

              Created:
              Updated:
              Resolved: