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 - UI is frozen for a long time when creating a large project.
Summary: UI is frozen for a long time when creating a large project.
Status: CLOSED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-22 12:33 UTC by Vladimir Kvashin
Modified: 2007-12-14 09:54 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Thread dump fragment (7.38 KB, text/plain)
2007-03-22 12:35 UTC, Vladimir Kvashin
Details

Note You need to log in before you can comment on or make changes to this bug.
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