Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 364000

Summary: Deadlock in ManagedContainer
Product: [Modeling] EMF Reporter: Eike Stepper <stepper>
Component: cdo.net4jAssignee: Eike Stepper <stepper>
Status: CLOSED FIXED QA Contact: Eike Stepper <stepper>
Severity: major    
Priority: P3    
Version: 4.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Eike Stepper CLA 2011-11-17 01:20:11 EST
Cloned from: 363997: Deadlock in ManagedContainer
https://bugs.eclipse.org/bugs/show_bug.cgi?id=363997

In getElement() there's large synchronized (elementRegistry) block that passes control out of scope. Especially element post processing or activation can lead to further container access by other threads --> deadlock
Comment 1 Eike Stepper CLA 2011-11-17 01:26:45 EST
commit b126d031442623646bdda3aaee3643b17552c6fc
Author: Eike Stepper <stepper@esc-net.de> 2011-11-17 07:26:13
Committer: Eike Stepper <stepper@esc-net.de> 2011-11-17 07:26:13
Parent: 3b4b70771a1912759226aba6e515b75ba33fb15b (Fixed unused warning)
Branches: streams/4.0-maintenance

[364000] Deadlock in ManagedContainer 
https://bugs.eclipse.org/bugs/show_bug.cgi?id=364000
Comment 2 Eike Stepper CLA 2012-09-21 06:52:33 EDT
Closing.