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

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

    XMLWordPrintable

Details

    • b39
    • generic
    • generic
    • Not verified

    Backports

      Description

        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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: