Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 181791 - AWT thread blocked for 37982 ms.
AWT thread blocked for 37982 ms.
Product: platform
Classification: Unclassified
Component: JDK Problems
All All
: P3 (vote)
Assigned To: Antonin Nebuzelsky
EXCEPTIONS_REPORT perf-profileme
Depends on:
  Show dependency treegraph
Reported: 2010-03-10 10:23 UTC by minashokry
Modified: 2016-08-02 20:17 UTC (History)
6 users (show)

See Also:
Issue Type: DEFECT

nps snapshot (256.00 KB, application/nps)
2010-03-10 10:23 UTC, minashokry
IDE log - NB DEV 201607230002 JDK 8 u74 x64 (954.81 KB, text/plain)
2016-08-02 20:17 UTC, zmirc

Note You need to log in before you can comment on or make changes to this bug.
Description minashokry 2010-03-10 10:23:45 UTC
Build: NetBeans IDE 6.8 (Build 200912041610)
VM: Java HotSpot(TM) Client VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Linux
Maximum slowness yet reported was 37982 ms, average is 8456
Comment 1 minashokry 2010-03-10 10:23:51 UTC
Created attachment 95005 [details]
nps snapshot
Comment 2 Dusan Balek 2010-03-11 10:44:02 UTC
Seems like a JDK problem. AWT thread is blocked inside javax.swing.JComponent.scrollRectToVisible(...) call.
Comment 3 Antonin Nebuzelsky 2010-10-04 14:12:27 UTC
See this very old JDK bug which seems to be still valid regardless all comments about some fix in jdk6.

Please evaluate if HTMLDocView could be changed to workaround the JDK bug. See the Evaluation part of the JDK bug report for possible help.
Comment 4 Dusan Balek 2010-11-04 16:19:29 UTC
The evaluation part of the above mentioned JDK bug suggest to switch the
views used to display a wrapped JTextArea to ZoneView and ParagraphView.
I'm afraid that we don't want to write our own HTML renderer (since code completion uses standard HTML rendering mechanism from JDK - HTMLDocView is just a JEditorPane with HTMLEditorKit installed).
Comment 5 zmirc 2016-08-02 20:17:55 UTC
Created attachment 161543 [details]
IDE log - NB DEV 201607230002 JDK 8 u74 x64

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo