Bug 214726 - 150K memory reduction in bootstrap (7500->4800 String objects)
150K memory reduction in bootstrap (7500->4800 String objects)
Status: NEW
Product: platform
Classification: Unclassified
Component: Module System
7.2
All All
: P3 (vote)
: TBD
Assigned To: Vladimir Voskresensky
issues@platform
: PERFORMANCE
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-06-25 15:27 UTC by Vladimir Voskresensky
Modified: 2012-11-23 07:50 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
:


Attachments
intern some sharable strings (2.02 KB, patch)
2012-06-25 15:27 UTC, Vladimir Voskresensky
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Voskresensky 2012-06-25 15:27:20 UTC
Created attachment 121306 [details]
intern some sharable strings

Attached patch reduces memory consumption by removing 1700 duplicated strings (build number, version number, some module names)
Comment 1 Vladimir Voskresensky 2012-06-25 16:18:49 UTC
(In reply to comment #0)
> removing 1700 duplicated strings
I meant minus 2700 strings
Comment 2 Jaroslav Tulach 2012-11-23 07:50:29 UTC
Does not the interning have a negative impact on startup time? If not, you can apply it.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo