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 44842 - Threading problems with find usages
Summary: Threading problems with find usages
Status: CLOSED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 4.x
Hardware: PC All
: P2 blocker (vote)
Assignee: issues@java
URL:
Keywords: PERFORMANCE, THREAD
Depends on:
Blocks:
 
Reported: 2004-06-14 17:37 UTC by _ rkubacki
Modified: 2007-04-03 18:02 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ rkubacki 2004-06-14 17:37:11 UTC
build from Jun 11, Linux, JDK1.5.0b55

Due to problems with thread semantic the progres
indication in find usages dialog can be broken at
any time and the whole AWT event processing can be
blocked. It means no UI updates/repainting. This
is because there can be arbitrary request for MDR
operation called with the AWT thread that will
wait for
org.netbeans.modules.javacore.ExclusiveMutex.enter

For an example see attached thread dump where Jave
editor updates global activated nodes during
computation of usages. As this update goes to the
MDR everything is blocked.
Comment 1 Martin Matula 2004-06-16 00:42:03 UTC
The issue with nodes was fixed. The general issue of blocking AWT
should be fixed by moving the code that accesses the MDR from the AWT
thread. Please file particular cases where it is broken as separate
issues.
Comment 2 Jiri Prox 2005-07-19 13:06:24 UTC
Radime, can you verify this issue, please? Thanks.
Comment 3 _ rkubacki 2005-07-20 13:30:09 UTC
I agree with Martin that we can close this now