Bug 336348 - Memory Improvement: Improve App Info Handling
Summary: Memory Improvement: Improve App Info Handling
Status: NEW
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: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-04 09:44 EST by Blaise Doughan CLA
Modified: 2022-06-09 10:16 EDT (History)
0 users

See Also:


Attachments
SchemaModelProject w/o appinfo mapping (822 bytes, patch)
2011-02-15 12:45 EST, David McCann 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-02-04 09:44:04 EST
When SDO derives metadata from an XML schema the appInfo sections are stored as DOM nodes on the type.  This can take up memory unnecessarily if the appInfo sections will never be used.  We should optimize the handling of this:

Potential options:

1.  Provide an option when loading metadata from an XML schema where the user can specify that they want to ignore appInfo sections.
2.  Store the appInfo sections as a String instead of a DOM node.  This would require extra processing during the marshal/unmarshal stages.
Comment 1 David McCann CLA 2011-02-15 12:45:03 EST
Created attachment 189025 [details]
SchemaModelProject w/o appinfo mapping
Comment 2 Eclipse Webmaster CLA 2022-06-09 10:08:34 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink
Comment 3 Eclipse Webmaster CLA 2022-06-09 10:16:51 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink