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 98632

Summary: UI is frozen for a long time when creating a large project.
Product: cnd Reporter: Vladimir Kvashin <vkvashin>
Component: ProjectAssignee: Alexander Simon <alexvsimon>
Status: CLOSED FIXED    
Severity: blocker    
Priority: P1    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Thread dump fragment

Description Vladimir Kvashin 2007-03-22 12:34:00 UTC
When creating a large project (such as Firefox), UI is frozen for a very long
time (more than half a minute) upon pressing "Finish". 

Thread dump shows that searching directories for files and adding found files to
project is done in the UI thread. It should be moved out of the UI thread.

(See thread dump fragment in attachment)
Comment 1 Vladimir Kvashin 2007-03-22 12:35:10 UTC
Created attachment 39809 [details]
Thread dump fragment
Comment 2 Alexander Simon 2007-04-16 07:18:30 UTC
fixed:
- move long tasks to project opened method.

CVS log:

Checking in makeproject/src/org/netbeans/modules/cnd/makeproject/MakeProject.java;
/shared/data/ccvs/repository/cnd/makeproject/src/org/netbeans/modules/cnd/makeproject/MakeProject.java,v
 <--  MakeProject.java
new revision: 1.2.2.5.8.13; previous revision: 1.2.2.5.8.12
done
Checking in
makeproject/src/org/netbeans/modules/cnd/makeproject/MakeProjectGenerator.java;
/shared/data/ccvs/repository/cnd/makeproject/src/org/netbeans/modules/cnd/makeproject/MakeProjectGenerator.java,v
 <--  MakeProjectGenerator.java
new revision: 1.2.2.5.8.1; previous revision: 1.2.2.5
done
Checking in
discovery/src/org/netbeans/modules/cnd/discovery/wizard/DiscoveryExtension.java;
/shared/data/ccvs/repository/cnd/discovery/src/org/netbeans/modules/cnd/discovery/wizard/DiscoveryExtension.java,v
 <--  DiscoveryExtension.java
new revision: 1.1.2.7; previous revision: 1.1.2.6
done
Checking in
discovery/src/org/netbeans/modules/cnd/discovery/wizard/DiscoveryWizardDescriptor.java;
/shared/data/ccvs/repository/cnd/discovery/src/org/netbeans/modules/cnd/discovery/wizard/DiscoveryWizardDescriptor.java,v
 <--  DiscoveryWizardDescriptor.java
new revision: 1.1.2.8; previous revision: 1.1.2.7
done
Checking in
makeproject/src/org/netbeans/modules/cnd/makeproject/api/wizards/IteratorExtension.java;
/shared/data/ccvs/repository/cnd/makeproject/src/org/netbeans/modules/cnd/makeproject/api/wizards/IteratorExtension.java,v
 <--  IteratorExtension.java
new revision: 1.1.2.5; previous revision: 1.1.2.4
done
Checking in
makeproject/src/org/netbeans/modules/cnd/makeproject/ui/wizards/NewMakeProjectWizardIterator.java;
/shared/data/ccvs/repository/cnd/makeproject/src/org/netbeans/modules/cnd/makeproject/ui/wizards/NewMakeProjectWizardIterator.java,v
 <--  NewMakeProjectWizardIterator.java
new revision: 1.2.2.4.6.11; previous revision: 1.2.2.4.6.10
done