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

Make ClassLoaderDataGraph linked list lock free

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Won't Fix
    • P4
    • 14
    • 14
    • hotspot

    Description

      It's a single linked list, so should be able to be made lock free. This would have prevented a lot of bugs that we've seen with trying to take this lock during a safepoint by a GC thread and with safepoint locking with non-gc threads.

      The reason for the lock was because performance wasn't critical, but removing it would avoid certain potential deadlocks.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: