Issue Details (XML | Word | Printable)

Key: OPENJPA-156
Type: Sub-task Sub-task
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Michael Dick
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
OpenJPA
OPENJPA-115

Cache class object used to create plugin values

Created: 20/Feb/07 08:51 PM   Updated: 17/Apr/07 06:38 PM
Return to search
Component/s: None
Affects Version/s: None
Fix Version/s: 0.9.7

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works openjpa-156.patch.txt 2007-02-20 09:00 PM Michael Dick 4 kB

Resolution Date: 20/Feb/07 10:52 PM


 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Michael Dick added a comment - 20/Feb/07 09:00 PM
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.