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

Add locking to ModuleEntry and PackageEntry tables

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 12
    • 12
    • 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 (?).

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

              Created:
              Updated:
              Resolved: