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: | org.netbeans.modules.deadlock.detector.Detector$DeadlockDetectedException: FSSDispatcher | ||
---|---|---|---|
Product: | cnd | Reporter: | Exceptions Reporter <exceptions_reporter> |
Component: | execution | Assignee: | ilia |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | vkvashin |
Priority: | P3 | ||
Version: | 8.1 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 225538 |
Attachments: | stacktrace |
Description
Exceptions Reporter
2016-08-01 11:04:39 UTC
Created attachment 161511 [details]
stacktrace
Investigation: There are two problems with this issue. First, we call a heavy operationfrom SubversionVCS.connected:234. Maybe it should be moved to a different thread. Second, MacroExpanderFactory class caches found expanders. It uses a static synchronized method getExpander and tries to lock HostInfoUtils. This leads to a deadlock if HostInfoUtils is already taken. Solution: Make macro expander cache synchronized more "softly", with concurrent map. Integrated into 'main-silver', will be available in build *201611110001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/d0ef9090621d User: Ilia Gromov <ilia@netbeans.org> Log: fixing #267378 - org.netbeans.modules.deadlock.detector.Detector$DeadlockDetectedException: FSSDispatcher (transplanted from e2aa85c5a0628d20ebda276f4b7a7783bb0041ae) Integrated into 'main-silver', will be available in build *201611160001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/03c6734db3fa User: Ilia Gromov <ilia@netbeans.org> Log: Additional fix for #267378 - org.netbeans.modules.deadlock.detector.Detector$DeadlockDetectedException: FSSDispatcher (transplanted from 4d9d01c80a2b72416b2170d3db539992065de36f) I can't reproduce this random exception in internal NetBeans 8,2 patch 1 build. |