Bug 60638 - Deadlock in SourceLevelQueryImpl vs. ProjectManager mutex
Deadlock in SourceLevelQueryImpl vs. ProjectManager mutex
Status: RESOLVED FIXED
Product: java
Classification: Unclassified
Component: Freeform
5.x
All All
: P3 (vote)
: 5.x
Assigned To: Jan Lahoda
issues@java
: THREAD
Depends on: 58347
Blocks:
  Show dependency treegraph
 
Reported: 2005-06-29 20:17 UTC by Jesse Glick
Modified: 2005-11-29 16:47 UTC (History)
0 users

See Also:
Issue Type: DEFECT
:


Attachments
Thread dump (15.43 KB, text/plain)
2005-06-29 20:17 UTC, Jesse Glick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2005-06-29 20:17:07 UTC
SLQI may not acquire the PM mutex (read or write) while holding a private lock.
Comment 1 Jesse Glick 2005-06-29 20:17:44 UTC
Created attachment 22960 [details]
Thread dump
Comment 2 Jesse Glick 2005-06-29 20:18:35 UTC
Observed in the 200506211800 q-build.
Comment 3 Jan Lahoda 2005-11-29 16:47:14 UTC
Hopefully fixed in the trunk. Unfortunatelly, it (AFAIK) cannot work without a
private lock (read access is not enough, exclusive access to the cache is
needed, and write access cannot be used as the configurationXmlChanged is called
under the read access).

Checking in src/org/netbeans/modules/java/freeform/SourceLevelQueryImpl.java;
/cvs/java/freeform/src/org/netbeans/modules/java/freeform/SourceLevelQueryImpl.java,v
 <--  SourceLevelQueryImpl.java
new revision: 1.7; previous revision: 1.6
done


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo