Marshall Schor created UIMA-3642:
------------------------------------

             Summary: Reduce class loading synchronized contention
                 Key: UIMA-3642
                 URL: https://issues.apache.org/jira/browse/UIMA-3642
             Project: UIMA
          Issue Type: Improvement
          Components: Core Java Framework
    Affects Versions: 2.5.0SDK
            Reporter: Marshall Schor
            Assignee: Marshall Schor
            Priority: Minor
             Fix For: 2.5.1SDK


In large multithreaded deployment with many annotators, measurements showed 
large slowdown in class loading as 100's of annotator classes were loaded, 
perhaps in 100's of instances.  Each load operation locked 1 shared global 
lock.  Java 7 implements a finer grained locking for this, so that the lock is 
per [ classloader + class-name ], to reduce lock contention.  This code will 
need to be conditional for Java 7 and later.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to