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 181327 - MakeLogicalViewRootNode + Applied Project Properties actions slowness (AWT thread blocked for 40330 ms.)
Summary: MakeLogicalViewRootNode + Applied Project Properties actions slowness (AWT th...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2010-02-28 09:58 UTC by Exceptions Reporter
Modified: 2011-03-17 21:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 162011


Attachments
nps snapshot (256.00 KB, application/nps)
2010-02-28 09:58 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2010-02-28 09:58:14 UTC
Build: NetBeans IDE 6.8 (Build 200912041610)
VM: Java HotSpot(TM) Client VM, 14.3-b01, Java(TM) SE Runtime Environment, 1.6.0_17-b04
OS: Linux

User Comments:
GUEST: start up with two C++ project.

GUEST: I was trying to "import" linux kernel into netbeans IDE
Parsing linux got stuck while parsing the whole tree
There is no way to kill it (beside killing netbeans)
There is no simple way to trim the source tree so it does not get parsed



Maximum slowness yet reported was 40330 ms, average is 22665
Comment 1 Exceptions Reporter 2010-02-28 09:58:19 UTC
Created attachment 94606 [details]
nps snapshot
Comment 2 Vladimir Voskresensky 2010-03-16 15:20:22 UTC
the first issue is about:
MakeLogicalViewRootNode constructor calls updateAnnotationFiles which then use  file.exists() checks
Comment 3 Vladimir Voskresensky 2010-03-16 15:22:56 UTC
the issue with linux kernel is:
MakeCustomizerProvider has OptionListener which is called on closing customizer in EDT => expensive call for MakeConfigurationDescriptor.checkForChangedSourceRoots
Comment 4 Thomas Preisler 2010-12-14 18:56:52 UTC
removing EXCEPTIONS_REPORT from Whiteboard. It is a 'self-induced' exception to flag performance issues and not an exception caused by a coding error. Also downgrading to P3 (original priority).
Comment 5 Vladimir Voskresensky 2011-03-17 21:08:19 UTC
lazy loading was done in 7.0