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

Allocate in DumpRegion is not thread safe

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • None
    • 16
    • hotspot
    • None
    • b17
    • generic

    Description

      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(...).

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: