Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 353849 - RWOLockManager.unlock(CONTEXT) gives ConcurrentModEx
Summary: RWOLockManager.unlock(CONTEXT) gives ConcurrentModEx
Status: REOPENED
Alias: None
Product: EMF
Classification: Modeling
Component: cdo.core (show other bugs)
Version: 4.13   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Caspar D. CLA
QA Contact: Eike Stepper CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-04 02:38 EDT by Eike Stepper CLA
Modified: 2020-12-11 10:36 EST (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-08-04 02:38:06 EDT
Cloned from: 353303: RWOLockManager.unlock(CONTEXT) gives ConcurrentModEx
https://bugs.eclipse.org/bugs/show_bug.cgi?id=353303

Unlocking all locks for a given context, i.e. calling 
RWOLockManager.unlock(CONTEXT context), causes ConcurrendModEx,
due to the removal of lockStates while the set of lockStates
for a given context is being iterated over. (The actual
removal happens in #removeLockFromContext.)

No test case was ever written for this scenario. Not sure if
the old RWLockManager did it right. Doesn't matter now, will
provide a fix + testcase for the RWOLockManager momentarily.
Comment 1 Caspar D. CLA 2011-08-18 05:29:59 EDT
Fixed as part of bug 353691.
Comment 2 Caspar D. CLA 2011-08-18 05:33:49 EDT
Sorry - not fixed in 4.0 yet!
Comment 3 Eike Stepper CLA 2012-06-05 07:29:53 EDT
Moving all open bug reports to 4.1 because the release is very near and it's hghly unlikely that there will be spare time to address 4.0 problems.

Please make sure that your patches can be applied against the master branch and that your problem is not already fixed there!!!
Comment 4 Eike Stepper CLA 2012-08-14 22:53:25 EDT
Moving all open issues to 4.2. Open bugs can be ported to 4.1 maintenance after they've been fixed in master.
Comment 5 Eike Stepper CLA 2013-06-29 12:19:04 EDT
We'll try to address open problems in 4.3 (master) first and then port fixes back to 4.2.
Comment 6 Eike Stepper CLA 2015-07-14 02:14:45 EDT
Moving all open bugzillas to 4.5.
Comment 7 Eike Stepper CLA 2016-07-31 00:57:39 EDT
Moving all unaddressed bugzillas to 4.6.
Comment 8 Eike Stepper CLA 2017-12-28 01:18:42 EST
Moving all open bugs to 4.7
Comment 9 Eike Stepper CLA 2019-11-08 02:09:36 EST
Moving all unresolved issues to version 4.8-
Comment 10 Eike Stepper CLA 2019-12-13 12:49:51 EST
Moving all unresolved issues to version 4.9
Comment 11 Eike Stepper CLA 2020-12-11 10:36:28 EST
Moving to 4.13.