[ https://issues.apache.org/jira/browse/TOMEE-1428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14184460#comment-14184460 ]
Mark Struberg commented on TOMEE-1428: -------------------------------------- so far my conclusio is that it has to do with the doNotUseClassLoader created in DeploymentLoader. Despite it's name it seems to get used. This registeres an URL pointing to target/classes, but this location already gets served by the AppClassLoader (accessible via getOpenEjbClassLoader()) which it delegates too. > improve the performance of TempClassLoader$ResourceComparator > ------------------------------------------------------------- > > Key: TOMEE-1428 > URL: https://issues.apache.org/jira/browse/TOMEE-1428 > Project: TomEE > Issue Type: Improvement > Affects Versions: 2.0.0, 1.7.1 > Environment: maven build - tests running with openejb-embedded > Reporter: Mark Struberg > Fix For: 2.0.0, 1.7.2 > > > While profiling our maven build with DeltaSpike CdiCtrl and openejb-embedded > I noticed that TempClassLoader$ResourceComparator#weight eats up a big part > of the scanning time. Improving this method could improve the overall boot > time of openejb around 20%. -- This message was sent by Atlassian JIRA (v6.3.4#6332)