Bug 221546 - Improve general performance and concurrency
Summary: Improve general performance and concurrency
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P5 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords: performance
Depends on:
Blocks:
 
Reported: 2008-03-05 11:57 EST by James Sutherland CLA
Modified: 2022-06-09 10:25 EDT (History)
0 users

See Also:


Attachments
adds some minor performance optimizations (117.63 KB, patch)
2009-06-17 11:07 EDT, James Sutherland CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description James Sutherland CLA 2008-03-05 11:57:57 EST
This is a enhancement to capture the project targetted at improving our general performance and concurrency.

This enhancement mainly roles up several other performance related bugs into a bigger project.

see bugs,
bug#220815 
bug#220402 
bug#220401 
bug#220396 
bug#220394 
bug#218628 
bug#220399
Comment 1 Tom Ware CLA 2009-04-16 10:56:24 EDT
Updating priority due to revised bug categorization process.  See the following page for details:

http://wiki.eclipse.org/EclipseLink/Development/Bugs/Guidelines#Priority_and_Target_Milestone 

If you feel the updated priority is incorrect, please send an email to eclipselink-users@eclipse.org.
Comment 2 James Sutherland CLA 2009-06-17 11:07:26 EDT
Created attachment 139438 [details]
adds some minor performance optimizations
Comment 3 James Sutherland CLA 2009-06-17 11:22:14 EDT
SVN Commit: Bug#221546 - performance

Some minor runtime performance improvements, and some bootstrap performance related changes.

Changes:
- Fixed EJBQueryImpl to use NonSynchronizedVector for parameters.
- Improved output of QueryMonitor.
- DatabaseQuery: changed argumentTypes to List from Vector.
- Change query cache to key be query name if available.
- Added some missing overrides and optimizations to NonSynchronizedVector.
- Added NonSynchronizedProperties to avoid blocking in DatabaseLogin connecting to external connection pools.
- DatabaseAccessor: use Map for statementCache, and lazy init batch writing mechanism.
- Use index for loop instead of Iterator is a few key places to avoid extra object allocation.
- Removed white-box weaving relationship tests, as there are black-box tests for these and they are difficult to maintain.
- Change MetadataFactory to variable instead of singleton.
- Avoid parsing JDK classes methods and fields in MetadataFactory.
- Use cached project when writing ORM XML.
- Cache schema objects for ORM XML.
- Use correct class loader to load enums.

Code review: Andrei (pending)


Comment 4 James Sutherland CLA 2010-01-06 14:19:10 EST
Closing for 2.0 release.
Comment 5 Eclipse Webmaster CLA 2022-06-09 10:16:43 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink
Comment 6 Eclipse Webmaster CLA 2022-06-09 10:25:27 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink