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

Simplify the synchronization of defining and getting java.lang.Package

XMLWordPrintable

    • b39
    • generic
    • generic
    • Not verified

        Current code in j.l.ClassLoader and j.l.Package for retrieving packages use coarse-grained synchronization on shared collections and could be simplified by using concurrent utilities.

        Furthermore, when defining Packages, the reading of Manifests from jar files is synchronized globally, which prohibits reading of manifests from different jar files in parallel, which could be a startup bottleneck for some applications.

              redestad Claes Redestad
              redestad Claes Redestad
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: