You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Michael Dick (JIRA)" <ji...@apache.org> on 2007/02/20 21:53:06 UTC
[jira] Created: (OPENJPA-156) Cache class object used to create
plugin values
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
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (OPENJPA-156) Cache class object used to create
plugin values
Posted by "Patrick Linskey (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OPENJPA-156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Patrick Linskey resolved OPENJPA-156.
-------------------------------------
Resolution: Fixed
> 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.
[jira] Updated: (OPENJPA-156) Cache class object used to create
plugin values
Posted by "Michael Dick (JIRA)" <ji...@apache.org>.
[ 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.