[JAVA-346] Remove ThreadLocal in BSON.java Created: 03/May/11 Updated: 28/Aug/12 Resolved: 12/Aug/12 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Antoine Girbal | Assignee: | Unassigned |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
use a pool instead, will not change perf much. |
| Comments |
| Comment by Jeffrey Yemin [ 12/Aug/12 ] |
|
The only thread locals are the encoder/decoder. |
| Comment by Antoine Girbal [ 03/May/11 ] |
|
on inspecting further, these methods are only called from Test classes. |