[jboss-jira] [JBoss JIRA] (DROOLS-170) Cache ClassNotFounds in CompositeClassLoader to speed up compilation

Mark Torres (JIRA) jira-events at lists.jboss.org
Fri Jun 14 12:47:54 EDT 2013


Mark Torres created DROOLS-170:
----------------------------------

             Summary: Cache ClassNotFounds in CompositeClassLoader to speed up compilation
                 Key: DROOLS-170
                 URL: https://issues.jboss.org/browse/DROOLS-170
             Project: Drools
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
    Affects Versions: 5.5.1.Final
            Reporter: Mark Torres
            Assignee: Mark Proctor


Compilation of our rules are taking a long time.
During profiling, one bottleneck that appears is excessive Class.forName lookups.
CompositeClassLoader caches class that are found successfully, but does not cache those that were not found.
Mvel tries to lookup "non-existent" classes a lot during compilation.
Caching these ClassNotFounds should speed up the compilation.

This change alone brought down our compilation time from 163854ms to 47312ms
on my dev box.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list