Add locking to ModuleEntry and PackageEntry tables

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • 12
    • Affects Version/s: 12
    • Component/s: hotspot
    • b07

      Adding locks to lookup and cleaning ModuleEntry table and PackageEntry table to enable concurrent class unloading. These may not be cleaned during a safepoint in the future.

      Verify that lookup under a lock doesn't hurt performance.

      Also, it appears that stale ModuleEntry entries, that is, from classes that are unloaded, on the reads list are okay because the list is followed only to match with an existing ModuleEntry that is not from an unloaded class (so they should not match). PackageEntry might be the same (?).

            Assignee:
            Harold Seigel (Inactive)
            Reporter:
            Coleen Phillimore
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: