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

Examine overhead in java.net.URLClassLoader

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Won't Fix
    • Affects Version/s: 9
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:
      None

      Description

      Brian Goetz says "I was peeking through the URLClassLoader code, and it seems awfully inefficient. If we're so concerned about startup, have we evaluated whether that's a part of the problem? e.g., uses exceptions for control flow, doesn't build maps of what is in each JAR, etc"

      Synchronization in URLClassLoader is also extremely coarse grained. Low hanging fruit?

      This might be helpful when we are attacking the various warmup problems that stem from the huge amounts of classes being generated by Indy.

      I know Claes was looking at stuff like this, so I am assigning it to him.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                redestad Claes Redestad
                Reporter:
                lagergren Marcus Lagergren
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: