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.
- is cloned by
-
JBEAP-10942 (7.0.z) Performance problem in JarFileResourceLoader
- Closed
- is incorporated by
-
JBEAP-11044 Upgrade JBoss Modules to 1.6.0.Beta9
- Closed
- relates to
-
MODULES-284 Performance problem in JarFileResourceLoader
- Resolved