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.
Summary: | Deadlock between freeform.Classpaths & j2seplatform.platformdefinition.DefaultClassPathProvider.CompileClassPathImpl | ||
---|---|---|---|
Product: | java | Reporter: | Jesse Glick <jglick> |
Component: | Source | Assignee: | Tomas Zezula <tzezula> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | RANDOM, THREAD |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
Thread dump
Again deadlocked when closing nbbuild |
Created attachment 92385 [details]
Again deadlocked when closing nbbuild
Reassigning to Tomas for evaluation. The second thread dump is a different problem. It has nothing in common with DCP. It's pure freeform deadlock (ff classpath cs project mutex). Both deadlocks fixed. jet-main: 5e1b4e828862 Integrated into 'main-golden', will be available in build *200912220201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/5e1b4e828862 User: Tomas Zezula <tzezula@netbeans.org> Log: #178307:Deadlock between freeform.Classpaths & j2seplatform.platformdefinition.DefaultClassPathProvider.CompileClassPathImpl |
Created attachment 92287 [details] Thread dump 091207-ea36fa03ce7b, JDK 6. Encountered when closing the nbbuild project. Straightforward lock ordering ambiguity. Looks to actually be two similar problems: both of these classes call foreign code while holding a monitor.