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 171770 - AWT thread blocked for 22649 ms.
Summary: AWT thread blocked for 22649 ms.
Status: RESOLVED FIXED
Alias: None
Product: contrib
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: _ tboudreau
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-09 01:36 UTC by lasombra
Modified: 2011-05-26 02:40 UTC (History)
6 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 157880


Attachments
nps snapshot (4.16 KB, bin/nps)
2009-09-09 01:36 UTC, lasombra
Details
nps snapshot (56.84 KB, bin/nps)
2009-09-09 19:16 UTC, Exceptions Reporter
Details
nps snapshot (256.00 KB, application/nps)
2009-11-18 06:59 UTC, Exceptions Reporter
Details
nps snapshot (256.00 KB, application/nps)
2009-11-26 06:00 UTC, doctorlux
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lasombra 2009-09-09 01:36:42 UTC
Build: NetBeans IDE Dev (Build nbms-and-javadoc-3865-on-090903)
VM: Java HotSpot(TM) 64-Bit Server VM, 14.1-b02-90, Java(TM) SE Runtime Environment, 1.6.0_15-b03-219
OS: Mac OS X, 10.6, x86_64

User Comments:
GUEST: I am trying to generate a class diagram for one class.


Maximum slowness yet reported was 22649 ms, average is 15040
Comment 1 lasombra 2009-09-09 01:36:47 UTC
Created attachment 87324 [details]
nps snapshot
Comment 2 t_h 2009-09-09 14:37:25 UTC
org.netbeans.modules.graphicclassview.JavaSceneLayout
Comment 3 Exceptions Reporter 2009-09-09 19:16:35 UTC
Build: NetBeans IDE Dev (Build 200908022240)
VM: Java HotSpot(TM) 64-Bit Server VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Linux, 2.6.30-gentoo-r6, amd64

User Comments: 
It's a big maven project. I open graphical class view on one of the classes.
Maximum slowness yet reported was 48990 ms, average is 26357
Comment 4 Exceptions Reporter 2009-09-09 19:16:39 UTC
Created attachment 87391 [details]
nps snapshot
Comment 5 Exceptions Reporter 2009-11-18 06:59:13 UTC
Build: NetBeans IDE Dev (Build 200911170201)
VM: Java HotSpot(TM) Client VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Linux, 2.6.31kid, i386

User Comments: 
Using Source->Graphical View and changed layout to "Topological Grid Layout"
Maximum slowness yet reported was 73237 ms, average is 34886
Comment 6 Exceptions Reporter 2009-11-18 06:59:19 UTC
Created attachment 91252 [details]
nps snapshot
Comment 7 Exceptions Reporter 2009-11-18 06:59:25 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=157880
Comment 8 _ tboudreau 2009-11-18 08:00:19 UTC
This is an experimental module, and the combo box actually says "(slow)" next to this algorithm.

Best I can think of is to remove the algorithm - it does slightly better layout, but it is very computationally expensive.

Would like to wrapper the various algorithms in the Jung open source project, which are from genuine academic research on graph theory (as opposed to something I hacked together with a bit of intuition).  This particular one is not really going to get fixed, though it may be removed.
Comment 9 doctorlux 2009-11-26 06:00:48 UTC
Created attachment 91726 [details]
nps snapshot
Comment 10 _ tboudreau 2011-05-26 02:40:41 UTC
Fixed in #72a13b51c032 (not a pretty fix - just disabled the combo box, since this layout is never going to perform well).