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 26532

Summary: Updating list in editor toolbar blocks AWT
Product: java Reporter: Peter Zavadsky <pzavadsky>
Component: BeansAssignee: Svata Dedic <sdedic>
Status: VERIFIED FIXED    
Severity: blocker Keywords: PERFORMANCE
Priority: P2    
Version: 3.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 34165    
Attachments: Full thread dump during the freeze

Description Peter Zavadsky 2002-08-15 10:52:09 UTC
Sometimes when I just switched the java sources in
editor, the IDE has frozen for some time.
Provided thread dump, shows the problem is in
updating of the editor toolbar, which blocks AWT
thread.
Comment 1 Peter Zavadsky 2002-08-15 10:53:03 UTC
Created attachment 7105 [details]
Full thread dump during the freeze
Comment 2 Svata Dedic 2002-09-03 13:14:32 UTC
The culprit here seems to be the Beans Patterns module - it does all
the analysis quite eagerly and synchronously (even within addNotify).
Comment 3 Svata Dedic 2002-09-03 14:16:29 UTC
I cannot really test it (since the reproduction is not bulletproof),
but I forked bean patterns processing a RequestProcessor except cases
where the results are expected synchronously.

/cvs/beans/src/org/netbeans/modules/beans/PatternChildren.java,v  <--
 PatternChildren.java
new revision: 1.22; previous revision: 1.21
Comment 4 Jan Becicka 2002-10-14 14:03:02 UTC
Editor combo works fine now [200210090100]