Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 338573

Summary: Memory Improvement: Reduce the instances of String
Product: z_Archived Reporter: Blaise Doughan <blaise.doughan>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: eclipselink.sdo-inbox
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 334389    
Attachments:
Description Flags
Core - Fix
none
SDO - Fix
none
SDO - Fix none

Description Blaise Doughan CLA 2011-03-01 13:52:42 EST
Currently the SDO/OXM metadata is referring to many instances of String.  Work should be done to reduce the number of references if possible,
Comment 1 Blaise Doughan CLA 2011-03-01 13:54:57 EST
Created attachment 190075 [details]
Core - Fix
Comment 2 Blaise Doughan CLA 2011-03-01 13:56:45 EST
Created attachment 190076 [details]
SDO - Fix
Comment 3 Blaise Doughan CLA 2011-03-01 14:38:44 EST
Created attachment 190081 [details]
SDO - Fix
Comment 4 Blaise Doughan CLA 2011-03-02 12:40:49 EST
Fix checked into trunk at rev:  9058
Fix checked into 2.2.1 at rev:  9059
Fix checked into 2.1.3 at rev:  9060

Code reviewed by:  Rick Barkhouse

Changes:

Use String.intern() to reduce the number of instances of String held by the SDO metadata.  The changes were done to:
- SDOType/SDOProperty - intern name and URI
- XPathFragment - intern localName/shortName
Comment 5 Eclipse Webmaster CLA 2022-06-09 10:28:51 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink