[
https://issues.apache.org/jira/browse/UIMA-3642?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marshall Schor resolved UIMA-3642.
----------------------------------
Resolution: Fixed
> 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. See
> http://docs.oracle.com/javase/7/docs/technotes/guides/lang/cl-mt.html
--
This message was sent by Atlassian JIRA
(v6.2#6252)