This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 51392 - Huge number of Strings keeping status information
Summary: Huge number of Strings keeping status information
Status: RESOLVED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcscore (show other bugs)
Version: 4.x
Hardware: PC All
: P3 blocker (vote)
Assignee: issues@obsolete
URL:
Keywords: PERFORMANCE, SIMPLEFIX
Depends on:
Blocks:
 
Reported: 2004-11-10 17:07 UTC by _ rkubacki
Modified: 2004-12-21 15:22 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ rkubacki 2004-11-10 17:07:09 UTC
Trunk build from Nov 10, JDK 1.5.0, testing with a
small project versioned using CVS (~250)

I see hundreds of copies of 'Up-to-date' string
and tens of 'Locally Modified', 'Locally added'
that represents statuses of files after a refresh.
Since the set of statuses is very limited it would
be better to share small set of (interned) string.
Every 'Up-to-date' string eats 56 bytes.
Comment 1 Martin Entlicher 2004-11-11 11:39:05 UTC
The reason seems to be, that the status is parsed from an output of an
external command. This generates a unique string for every file.
Intern will fix this.
Comment 2 _ pkuzel 2004-12-21 15:22:12 UTC
FIXED in FileProperties