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

Allocate in DumpRegion is not thread safe

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 16
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b17
    • OS:
      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

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

                Dates

                Created:
                Updated:
                Resolved: