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

Bug 338599

Summary: [perf] Serialization optimizations for LocalMetadataRepository
Product: [Eclipse Project] Equinox Reporter: DJ Houghton <dj.houghton>
Component: p2Assignee: DJ Houghton <dj.houghton>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.7   
Target Milestone: 3.7 M6   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Bug Depends on:    
Bug Blocks: 338600    

Description DJ Houghton CLA 2011-03-01 17:38:30 EST
When looking at the serialization code for LocalMetadataRepository, it appears that whenever we add a site reference, we mark the repo as dirty and re-write the repository. 

In a lot of cases, the references will be the same across multiple features and as the number of features grow, the problem becomes more apparent. This was noticed in a scenario in which the reconciler was being used to install roughly 2000 features. 

We should check to make sure that we really did add a new reference before writing out the repository.
Comment 1 DJ Houghton CLA 2011-03-02 09:41:50 EST
Released to HEAD.