Bug 92211 - [ActivityMgmt] Activity resolution creates a lot of duplicate strings
Summary: [ActivityMgmt] Activity resolution creates a lot of duplicate strings
Status: RESOLVED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.1   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Kim Horne CLA
QA Contact:
URL:
Whiteboard:
Keywords: performance
Depends on:
Blocks:
 
Reported: 2005-04-21 09:39 EDT by Kim Horne CLA
Modified: 2007-06-22 09:58 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kim Horne CLA 2005-04-21 09:39:17 EDT
The various activity compoinents (ActivityDefinition,
ActivityPatternBindingDefinition, ActivityRequirementBindingDefinition,
CategoryActivityBindingDefinition, CategoryDefinition) that are used when
processing the registry are very string-heavy.  Additionally, by virtue of it's
design, many of the strings are duplicated.  Ie: activity ID in the
ActivityDefinition and the zillion pattern bindings/requirement/category
bindings.  We should investigate the use of String.intern() in this case.
Comment 1 Kim Horne CLA 2005-04-21 09:39:59 EDT
This would negatively impact startup speed but would improve memory usage.  Any
opinions Tod?
Comment 2 Tod Creasey CLA 2005-04-21 09:48:28 EDT
We would need to see how much the effect is on both. If a small loss in one
causes a big gain in the other it would be worth it.
Comment 3 Kim Horne CLA 2007-06-22 09:58:00 EDT
No plans to fix.