[JAVA-198] DBApiLayer._cleanCursors(): reduce need for synchronization Created: 22/Oct/10 Updated: 29/Oct/10 Resolved: 25/Oct/10 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Performance |
| Affects Version/s: | 2.2 |
| Fix Version/s: | 2.3 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Christoph Preissner | Assignee: | Eliot Horowitz (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
all |
||
| Description |
|
added double check pattern in order to avoid synchronization on every method call; |
| Comments |
| Comment by auto [ 25/Oct/10 ] |
|
Author: {'login': 'erh', 'name': 'Eliot Horowitz', 'email': 'eliot@10gen.com'}Message: dead cursor sync cleaning |
| Comment by Christoph Preissner [ 22/Oct/10 ] |
|
http://github.com/Chr1st0ph/mongo-java-driver/commit/9887301da9cf43d94ac885314e8f79e4e605b464 |