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

Lock ClassLoaderDataGraph

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 12
    • 12
    • hotspot
    • None
    • b10

    Description

      Add lock to ClassLoaderDataGraph in preparation for concurrent class unloading.

      New entries in the singly linked list ClassLoaderDataGraph are added via CAS. There is no performance reason to do this. It was done to be careful about safepointing while installing ClassLoaderData, but GC will find the CLD through the class loader oop.

      There is various CLDG walking through the VM which now need to either take the lock or be at a safepoint.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: