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

Unsynchronized iteration of ClassLoaderDataGraph

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 13
    • 13
    • hotspot
    • b20

    Description

      At the start of concurrent marking G1 iterates over the CLDG, calling ClassLoaderDataGraph::clear_claimed_marks (classLoaderDataGraph.cpp:50).

      At the same time, when adding a new CLD, the CLDG may be changed in ClassLoaderDataGraph::add_to_graph().

      This interaction is unsynchronized completely, potentially causing crashes.

      So far we have not been able to pinpoint any crash to this issue though.

      Attachments

        Issue Links

          Activity

            People

              coleenp Coleen Phillimore
              tschatzl Thomas Schatzl
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: