Bug 37660 - [plan item] Improve PDE model implementation
Summary: [plan item] Improve PDE model implementation
Status: RESOLVED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.1   Edit
Hardware: All All
: P4 enhancement (vote)
Target Milestone: 3.0 M8   Edit
Assignee: PDE-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: plan
Depends on:
Blocks:
 
Reported: 2003-05-15 10:34 EDT by Jim des Rivieres CLA
Modified: 2004-03-23 22:14 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jim des Rivieres CLA 2003-05-15 10:34:42 EDT
Improve PDE model implementation. PDE lazily builds detailed models of plug-
ins, plug-in fragments, features, extension point schemas. Once loaded, these 
models are kept in memory until shut down. This approach does not scale up to 
working with large numbers (1000s) of plug-ins. PDE model elements should be 
changed to use lightweight handle objects, backed by detailed models which are 
loaded and unloaded as required.
Comment 1 Wassim Melhem CLA 2004-03-23 22:14:04 EST
The main problem for the huge consumption of memory is the fact that PDE keeps 
the internal structure of all extensions in the target platform.  This could 
be potentially huge.  Just think of what the content of 
an "org.eclipse.ui.actionSets" extension looks like.

PDE now keeps a lightweight representation of extensions in the target 
platform.  We only keep the "point", "id", "name" attributes and we discard 
the rest.  This is enough to to do searches and all other activities that 
require knowledge of extensions.