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

Performance problem in JarFileResourceLoader

XMLWordPrintable

      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.

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

              Created:
              Updated:
              Resolved: