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

Unsynchronized iteration of ClassLoaderDataGraph

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: