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

Bug 331762

Summary: [repository] Share StringPool for Composite Repositories
Product: [Eclipse Project] Equinox Reporter: DJ Houghton <dj.houghton>
Component: p2Assignee: Dean Roberts <dean.t.roberts>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: aniefer, dj.houghton, irbull, pascal
Version: 3.7Keywords: performance
Target Milestone: 3.6.2   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on: 329385    
Bug Blocks: 329384    
Attachments:
Description Flags
patch none

Description DJ Houghton CLA 2010-12-03 08:41:42 EST
Cloned bug to track release into R3.6.x stream.

+++ This bug was initially created as a clone of Bug #329385 +++

Build Identifier: 

Currently MetaDataRepository uses StringPool to intern shared strings.  However, the entry point is on XMLParser and results in each child repository of a CompositeRepository having its own copy of duplicate strings.

Additional savings can be gained by using the same StringPool to intern the strings for all child repositories.

Reproducible: Always
Comment 1 DJ Houghton CLA 2011-01-10 16:08:41 EST
I will release this into 3.6.x but need to ensure that we coordinate the change with PDE/Build so their tests don't run out of permgen space.
Comment 2 DJ Houghton CLA 2011-01-11 11:00:56 EST
Created attachment 186516 [details]
patch
Comment 3 DJ Houghton CLA 2011-01-11 11:01:55 EST
Patch released to r36x.