[ 
https://issues.apache.org/jira/browse/TOMEE-1428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14184537#comment-14184537
 ] 

Romain Manni-Bucau commented on TOMEE-1428:
-------------------------------------------

[~struberg] doNotUseClassLoader is not a tempclassloader config but just a 
runtime one so it has no link with your issue. We *need* a classloader for 
scanning. TempClassLoader goal is to serve all classes of the application for 
scanning purpose so they will get loaded twice but that's expected.

> 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)

Reply via email to