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 - Updating list in editor toolbar blocks AWT
Summary: Updating list in editor toolbar blocks AWT
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Beans (show other bugs)
Version: 3.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: Svata Dedic
URL:
Keywords: PERFORMANCE
Depends on:
Blocks: 34165
  Show dependency tree
 
Reported: 2002-08-15 10:52 UTC by Peter Zavadsky
Modified: 2003-07-02 12:28 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Full thread dump during the freeze (19.37 KB, text/plain)
2002-08-15 10:53 UTC, Peter Zavadsky
Details

Note You need to log in before you can comment on or make changes to this bug.
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]