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 177514 - Don't load CsmClass and others on start of empty IDE
Summary: Don't load CsmClass and others on start of empty IDE
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 6.x
Hardware: Other Linux
: P2 normal (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords: PERFORMANCE
: 165146 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-11-24 07:18 UTC by Jaroslav Tulach
Modified: 2011-06-07 06:34 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Lazy population of the Map in ModesSubModel seems to fix this problem (2.55 KB, patch)
2009-11-24 07:21 UTC, Jaroslav Tulach
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2009-11-24 07:18:01 UTC
Significant part of CND functionality is being loaded into the IDE when it starts with empty user directory. Please modify the system to not load following classes:

org.netbeans.modules.cnd.api.model.CsmClass
org.netbeans.modules.cnd.api.model.CsmClassifier
org.netbeans.modules.cnd.api.model.CsmCompoundClassifier
org.netbeans.modules.cnd.api.model.CsmDeclaration
org.netbeans.modules.cnd.api.model.CsmOffsetable
org.netbeans.modules.cnd.api.model.CsmOffsetableDeclaration
org.netbeans.modules.cnd.api.model.CsmQualifiedNamedElement
org.netbeans.modules.cnd.api.model.CsmScopeElement

More info about the whitelist test is at
http://wiki.netbeans.org/FitnessViaWhiteAndBlackList
including information which describes how to run the test.
Comment 1 Jaroslav Tulach 2009-11-24 07:19:43 UTC
The problem is in window system's persistance which instantiates components in spite they are not visible.
Comment 2 Jaroslav Tulach 2009-11-24 07:21:19 UTC
Created attachment 91605 [details]
Lazy population of the Map in ModesSubModel seems to fix this problem
Comment 3 Stanislav Aubrecht 2009-11-25 06:44:27 UTC
*** Bug 165146 has been marked as a duplicate of this bug. ***
Comment 4 Stanislav Aubrecht 2009-11-25 07:49:37 UTC
fixed in core-main b87a79258bed

thanks for the patch
Comment 5 Jaroslav Tulach 2009-11-26 07:48:11 UTC
I am always glad to suggest useful patches that I do not have to bugfix later.
Comment 6 Quality Engineering 2009-11-26 19:31:09 UTC
Integrated into 'main-golden', will be available in build *200911261400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/b87a79258bed
User: S. Aubrecht <saubrecht@netbeans.org>
Log: #177514 - instantiate TCs in sliding modes lazily
Comment 7 Quality Engineering 2011-06-07 06:34:34 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/
User: 
Log: