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 171842 - AWT thread blocked for 25434 ms.
Summary: AWT thread blocked for 25434 ms.
Status: RESOLVED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Search (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Victor Vasilyev
URL: http://statistics.netbeans.org/except...
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2009-09-09 16:51 UTC by jmichelberger
Modified: 2010-05-28 16:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 156079


Attachments
nps snapshot (50.53 KB, bin/nps)
2009-09-09 16:51 UTC, jmichelberger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jmichelberger 2009-09-09 16:51:31 UTC
Build: NetBeans IDE Dev (Build nbms-and-javadoc-3898-on-090909)
VM: Java HotSpot(TM) Client VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Windows XP, 5.1, x86
Maximum slowness yet reported was 25434 ms, average is 15810
Comment 1 jmichelberger 2009-09-09 16:51:40 UTC
Created attachment 87379 [details]
nps snapshot
Comment 2 Jan Lahoda 2009-09-10 11:24:09 UTC
org.netbeans.modules.search.project.ProjectOpenFileImpl.open could probably call OpenProjects.open in a working thread.
Comment 3 Victor Vasilyev 2010-05-28 16:02:24 UTC
I agree with the proposal. It is possible to open specified project in separate thread asynchronously, i.e. not in AWT thread. 

Fixed in the main trunk
http://hg.netbeans.org/main/rev/edbb5f3875f5

Steps to verify:
1. Start NB
2. Start OS' File Browser and find a folder of any NB project.
3. Drag & Drop the project folder to editor's area of the main NB window.

Expected result:
The project should be opened without slowness detecting.