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.
Summary: | org.netbeans.modules.projectimport.eclipse.core classes are loaded during startup with LimeWire project | ||
---|---|---|---|
Product: | projects | Reporter: | Alexander Kouznetsov <mrkam> |
Component: | Eclipse project importer | Assignee: | Jesse Glick <jglick> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | issues, jtulach |
Priority: | P3 | Keywords: | PERFORMANCE, TEST |
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
URL: | http://wiki.netbeans.org/FitnessViaWhiteAndBlackList | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Stacktraces |
Description
Alexander Kouznetsov
2008-10-08 20:14:30 UTC
Created attachment 71405 [details]
Stacktraces
EclipseImport code is not loaded during IDE startup. It's loading is triggered by a project opening - a project is checked if it was imported from Eclipse and if so then synchronization with Eclipse project is scheduled to occur 10 seconds later. What do you suggest? TM=future, too late for a P3 in 6.5 Some improvement already made for 6.7 in 23a442bff758. Can further reduce overhead to 3 classes when unused: core-main #57d32e35e89e Btw. You can add these classes into ide.kit/test/qa-functional/data/blacklist.txt to verify they never get loaded. Integrated into 'main-golden', will be available in build *200906110201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/57d32e35e89e User: Jesse Glick <jglick@netbeans.org> Log: #149554: reduce startup class loading overhead to three classes when imported projects are not open. Not sure how to do that. After adding org.netbeans.modules.projectimport.eclipse.core.spi.UpgradableProjectLookupProvider, which _is_ still loaded, GeneralSanityTest still passes. Desired patch is something like diff --git a/ide.kit/test/qa-functional/data/blacklist.txt b/ide.kit/test/qa-functional/data/blacklist.txt --- a/ide.kit/test/qa-functional/data/blacklist.txt +++ b/ide.kit/test/qa-functional/data/blacklist.txt @@ -413,3 +413,16 @@ org.netbeans.modules.db.explorer.node.RootNode org.netbeans.modules.hudson.ui.nodes.HudsonRootNode org.netbeans.modules.bugtracking.ui.nodes.BugtrackingRootNode + +# #149554 +org.netbeans.modules.projectimport.eclipse.core.EclipseProjectReference +org.netbeans.modules.projectimport.eclipse.core.ImportProblemsPanel +org.netbeans.modules.projectimport.eclipse.core.ProjectOpenHookImpl +org.netbeans.modules.projectimport.eclipse.core.UpdateAllProjects +org.netbeans.modules.projectimport.eclipse.core.UpgradableProject +org.netbeans.modules.projectimport.eclipse.core.WorkspaceFactory +# This is unavoidable: +# org.netbeans.modules.projectimport.eclipse.core.spi.UpgradableProjectLookupProvider +# Also unavoidable unless quite fancy declarative context-sensitive actions were available: +# org.netbeans.modules.projectimport.eclipse.core.UpdateProjectAction +# org.netbeans.modules.projectimport.eclipse.core.UpdateProjectAction$Menu |