| Summary: | ConcurrentModificationException in BranchRevisionCache | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Modeling] EMF | Reporter: | Pascal Lehmann <pascal.lehmann> | ||||
| Component: | cdo.core | Assignee: | Eike Stepper <stepper> | ||||
| Status: | CLOSED FIXED | QA Contact: | Eike Stepper <stepper> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | ||||||
| Version: | 4.0 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Pascal Lehmann
Created attachment 180652 [details]
Proposed patch
Added synchronized access to revisionList.
1) The number of lines that you changed is smaller than 250.
confirmed.
2) You are the only author of these changed lines.
confirmed.
3) You apply the EPL to these changed lines.
confirmed.
As such the synchronizations in getAllRevisions() and getRevisions(CDOBranchPoint) limit concurrency a lot if called. But these methods are really not supposed to be called in regular server operations. Currently they're only called on the client, which seems acceptable. So we probably don't need more opimized solutions ;-) Committed to HEAD Available in R20110608-1407 |