You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Karl Pauls (Jira)" <ji...@apache.org> on 2021/12/18 00:17:00 UTC

[jira] [Created] (SLING-11022) Commons Classloaders should be parallel capable where possible

Karl Pauls created SLING-11022:
----------------------------------

             Summary: Commons Classloaders should be parallel capable where possible
                 Key: SLING-11022
                 URL: https://issues.apache.org/jira/browse/SLING-11022
             Project: Sling
          Issue Type: Improvement
          Components: Commons
    Affects Versions: File System ClassLoader 1.0.14, Commons ClassLoader 1.4.4
            Reporter: Karl Pauls
            Assignee: Karl Pauls
             Fix For: File System ClassLoader 1.0.16, Commons ClassLoader 1.4.6


We are not registering our class loaders in commons class loader and commons file system class loader as parallel capable - as a consequence, we are synchronizing on the global lock per class loader which can cause unnecessary contention. 

We should register them as parallel capable and explicitly use the class loading lock where necessary. 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)