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 200036 - Libraries registered in ModuleInstall
Summary: Libraries registered in ModuleInstall
Status: RESOLVED DUPLICATE of bug 81229
Alias: None
Product: projects
Classification: Unclassified
Component: Libraries (show other bugs)
Version: 6.x
Hardware: Other All
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords: PERFORMANCE, REGRESSION
Depends on:
Blocks:
 
Reported: 2011-07-11 10:33 UTC by Jaroslav Tulach
Modified: 2012-10-31 14:45 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
"profiling" snapshot showing who loads what violator (22.24 KB, application/octet-stream)
2011-07-20 07:28 UTC, Jaroslav Tulach
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2011-07-11 10:33:40 UTC
Build 
http://deadlock.netbeans.org/hudson/job/ergonomics/2571/
detected few new classes being loaded on start see

http://deadlock.netbeans.org/hudson/job/ergonomics/2571/artifact/ide.kit/build/test/qa-functional/work/o.n.t.i.W/testWhitelist1/

The classes seem to be loaded from ModuleInstall. Can you delay that and initialize only when libraries API is really needed:

org.netbeans.spi.project.libraries.NamedLibraryImplementation
org.netbeans.modules.project.libraries.Util
org.netbeans.modules.project.libraries.ui.ProxyLibraryImplementation

See how to at 
http://wiki.netbeans.org/FitnessViaWhiteAndBlackList
Comment 1 Quality Engineering 2011-07-12 14:15:56 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/a38026a1c2a1
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #200036: Whitelisting the classes temporarily
Comment 2 Jaroslav Tulach 2011-07-20 07:28:12 UTC
Created attachment 109525 [details]
"profiling" snapshot showing who loads what violator
Comment 3 Petr Cyhelsky 2012-10-29 12:38:57 UTC
this seems to be still valid - please evaluate
Comment 4 Tomas Zezula 2012-10-31 14:45:44 UTC
In fact currently impossible, there was already a try to do it, see issue #81229, which needed to be rolled back.

*** This bug has been marked as a duplicate of bug 81229 ***