Build: NetBeans IDE 6.8 (Build 200912041610)
VM: Java HotSpot(TM) Client VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02
OS: Windows XP
Maximum slowness yet reported was 41614 ms, average is 24705
Created attachment 100363 [details]
The BrokenReferenceCustomizer just calls JFileChooser.showDialog which has to be done in EDT.
The thread is blocked in the WindowsFileChooserUI.WindowsFileWiew.getIcon()
JFileChooser on windows calls:
which may get into
and block on
which probably waits on "Swing Shell" thread. That thread may be computing for really long time. The AWT thread shall not block for such long running background threads.
In case you don't know how to reproduce slow behavior of
method, try to slow its call down by inserting
into it. Then the "Swing-Shell" thread shall be really slow and the chances of blocking the "AWT-EventThread" inside
shall be much higher, imho.
*** Bug 194005 has been marked as a duplicate of this bug. ***
*** Bug 219310 has been marked as a duplicate of this bug. ***
*** Bug 230540 has been marked as a duplicate of this bug. ***
*** Bug 222397 has been marked as a duplicate of this bug. ***
*** Bug 234159 has been marked as a duplicate of this bug. ***