Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 338573 - Memory Improvement: Reduce the instances of String
Summary: Memory Improvement: Reduce the instances of String
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 334389
  Show dependency tree
 
Reported: 2011-03-01 13:52 EST by Blaise Doughan CLA
Modified: 2022-06-09 10:28 EDT (History)
1 user (show)

See Also:


Attachments
Core - Fix (2.41 KB, patch)
2011-03-01 13:54 EST, Blaise Doughan CLA
no flags Details | Diff
SDO - Fix (1.77 KB, patch)
2011-03-01 13:56 EST, Blaise Doughan CLA
no flags Details | Diff
SDO - Fix (1.65 KB, patch)
2011-03-01 14:38 EST, Blaise Doughan CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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