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

Summary: AWT thread blocked for 37982 ms.
Product: platform Reporter: minashokry <minashokry>
Component: JDK ProblemsAssignee: Antonin Nebuzelsky <anebuzelsky>
Status: RESOLVED WONTFIX    
Severity: normal CC: anebuzelsky, dima_s_d_s, heroblues, janario, matthies, minashokry
Priority: P3 Keywords: PERFORMANCE
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 157965
Attachments: nps snapshot
IDE log - NB DEV 201607230002 JDK 8 u74 x64

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