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

ClassLoaderDataGraph::cld_do() should sometimes require CLDG_lock

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 12
    • 12
    • hotspot
    • None
    • b21

      The runtime and JFR code that calls ClassLoaderDataGraph::cld_do() should use the ClassLoaderDataGraphIterator which asserts that the CLDG_lock is taken. The GC code that uses the function should not.

      For runtime calls, it should also skip unloaded classes.

            coleenp Coleen Phillimore
            coleenp Coleen Phillimore
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: