| Summary: | Memory Improvement: Set initial size of Maps and Arrays whenever possible | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | David McCann <david.mccann> | ||||
| Component: | Eclipselink | Assignee: | David McCann <david.mccann> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | ||||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
2.1.3 Fix checked in Reviewed by: blaise.doughan@oracle.com Tests: all unit tests pass as expected Revision: 8994 2.3 Fix checked in Reviewed by: blaise.doughan@oracle.com Tests: all unit tests pass as expected Revision: 8995 The following bug has been entered for the corresponding 2.2.1 fix: Bug 337614 The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink |
Created attachment 188909 [details] Proposed changes to SDOTypeHelperDelegate In certain cases we know the size of a given Map/Array and should initialize the structure to that size. Some examples in SDOTypeHelperDelegate are: private static final Map sdoTypeForSimpleJavaType = new HashMap(22); private final Map sdoToXSDTypes = new HashMap(34); private final Map xsdToSDOType = new HashMap(46); Other SDO classes should be checked as well.