Bug 331762 - [repository] Share StringPool for Composite Repositories
Summary: [repository] Share StringPool for Composite Repositories
Status: RESOLVED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.7   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.6.2   Edit
Assignee: Dean Roberts CLA
QA Contact:
URL:
Whiteboard:
Keywords: performance
Depends on: 329385
Blocks: 329384
  Show dependency tree
 
Reported: 2010-12-03 08:41 EST by DJ Houghton CLA
Modified: 2011-01-11 11:01 EST (History)
4 users (show)

See Also:


Attachments
patch (9.36 KB, patch)
2011-01-11 11:00 EST, DJ Houghton CLA
no flags Details | Diff

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