Uploaded image for project: 'JBoss Modules'
  1. JBoss Modules
  2. MODULES-284

Performance problem in JarFileResourceLoader

    XMLWordPrintable

Details

    Description

      JarFile and ZipFile lock for just about anything. WildFly deployment iterates many shared modules, all of which are backed by JAR files. Deploying many archives in parallel can cause massive contention on these JAR files from iteration operations.

      We don't need to iterate the JarFile every time; we can just grab a snapshot copy of the list of regular files in the JAR and traverse that instead.

      Attachments

        Issue Links

          Activity

            People

              dlloyd@redhat.com David Lloyd
              dlloyd@redhat.com David Lloyd
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: