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

Bug 338140

Summary: Project should not store mapped superclass descriptors keyed on MetadataClass
Product: z_Archived Reporter: Guy Pelletier <guy.pelletier>
Component: EclipselinkAssignee: David Minsky <david.minsky>
Status: RESOLVED FIXED QA Contact: Project Inbox <eclipselink.orm-inbox>
Severity: normal    
Priority: P3 CC: david.minsky, eclipselink.orm-inbox, michael.f.obrien
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
URL: http://wiki.eclipse.org/EclipseLink/Development/JPA_2.0/metamodel_api#DI_63:_20090824:_Add_Map_support_for_.40MapKey_to_MapAttribute
Whiteboard:
Bug Depends on: 266912, 284147    
Bug Blocks: 338676    
Attachments:
Description Flags
Fix david.minsky: iplog+

Description Guy Pelletier CLA 2011-02-24 14:06:03 EST
Mapped superclass descriptors (used for metamodel support) and stored on the org.eclipse.persistence.session.Project currently use a MetadataClass as the map key. This results in a large memory usage from the metadata processing which is not garbage collected once its processing is completed.
Comment 1 Vikram Bhatia CLA 2011-03-15 02:15:17 EDT
Created attachment 191189 [details]
Fix
Comment 2 David Minsky CLA 2011-03-15 18:09:10 EDT
Checked into trunk (2.3 r9133)
Comment 3 Eclipse Webmaster CLA 2022-06-09 10:04:46 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink