Make ClassLoaderDataGraph linked list lock free

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Won't Fix
    • Priority: P4
    • 14
    • Affects Version/s: 14
    • Component/s: hotspot

      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.

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

              Created:
              Updated:
              Resolved: