[ 
https://issues.apache.org/jira/browse/OPENJPA-156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Dick updated OPENJPA-156:
---------------------------------

    Attachment: openjpa-156.patch.txt

Another performance issue we've run into is the call to 
Strings.toClass(clsName, findDerivedLoader(conf, loader)) in 
Configurations.newInstance().

To work around the problem we tried caching the Class created for a given 
ClassLoader. It's a relatively simple cache, but it yielded noticeable 
performance improvements. The attached patch is relative to openjpa-lib, I can 
attach one that is relative to trunk if that will help.  

> Cache class object used to create plugin values
> -----------------------------------------------
>
>                 Key: OPENJPA-156
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-156
>             Project: OpenJPA
>          Issue Type: Sub-task
>            Reporter: Michael Dick
>         Attachments: openjpa-156.patch.txt
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to