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 181791 - AWT thread blocked for 37982 ms.
Summary: AWT thread blocked for 37982 ms.
Status: RESOLVED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: JDK Problems (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Antonin Nebuzelsky
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
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
Exception Reporter: 157965


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

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.

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4202291

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