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 173029 - Don't load org.netbeans.modules.cnd.tha classes at startup
Summary: Don't load org.netbeans.modules.cnd.tha classes at startup
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Vladimir Voskresensky
URL: http://wiki.netbeans.org/FitnessViaWh...
Keywords: PERFORMANCE, TEST
Depends on:
Blocks:
 
Reported: 2009-09-24 14:50 UTC by Oleg Khokhlov
Modified: 2009-10-01 00:52 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
stacktraces (8.24 KB, text/xml)
2009-09-24 14:53 UTC, Oleg Khokhlov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oleg Khokhlov 2009-09-24 14:50:59 UTC
Performance test reports that the following classes loaded during startup:

> org.netbeans.modules.cnd.makeproject.MakeProjectFileOwnerQuery
> org.netbeans.modules.cnd.tha.actions.THAActionsProvider
> org.netbeans.modules.cnd.tha.actions.THAToolbarDropdownAction
> org.netbeans.modules.cnd.tha.support.THAProjectSupport

Comment from jtulach: "P2 for cnd to explain what is going on. There seems to be some action in toolbar which is loaded.
But it is not visible. Is that a bug for toolbar implementation or what?"

Build 20090922

test: ant in ide.kit/tests/whitelist
Comment 1 Oleg Khokhlov 2009-09-24 14:53:53 UTC
Created attachment 88295 [details]
stacktraces
Comment 2 Leonid Lenyashin 2009-09-28 12:42:12 UTC
Please evaluate
Comment 3 Vladimir Voskresensky 2009-09-28 16:11:31 UTC
There is a "Thread Analyzer" action in global toolbar sensitive to main project => some classes are needed.
I have reduced list to:
org.netbeans.modules.cnd.tha.actions.THAMainProjectAction
org.netbeans.modules.cnd.tha.actions.THAMainProjectAction$ProjectActionPerformerImpl
and added these two into whitelist_1.txt

http://hg.netbeans.org/cnd-main?cmd=changeset;node=c73b9d3f2112
Comment 4 Quality Engineering 2009-10-01 00:52:55 UTC
Integrated into 'main-golden', will be available in build *200909301401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/c73b9d3f2112
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: fixed IZ#173029: Don't load org.netbeans.modules.cnd.tha classes at startup