Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 363997 - Deadlock in ManagedContainer
Summary: Deadlock in ManagedContainer
Status: CLOSED FIXED
Alias: None
Product: EMF
Classification: Modeling
Component: cdo.net4j (show other bugs)
Version: 4.1   Edit
Hardware: PC Windows 7
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Eike Stepper CLA
QA Contact: Eike Stepper CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-17 01:11 EST by Eike Stepper CLA
Modified: 2012-09-21 07:16 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eike Stepper CLA 2011-11-17 01:11:18 EST
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:15:40 EST
commit b4414eb39396675ee1510a9b918006c6139a79da
Author: Eike Stepper <stepper@esc-net.de> 2011-11-17 07:13:46
Committer: Eike Stepper <stepper@esc-net.de> 2011-11-17 07:13:46
Parent: 3f0909e8fd56f0526abb7d6df5853cbd9a5d78ab (Fixed some warnings)
Branches: origin/master, master

[363997] Deadlock in ManagedContainer 
https://bugs.eclipse.org/bugs/show_bug.cgi?id=363997
Comment 2 Eike Stepper CLA 2012-09-21 07:16:20 EDT
Closing.