[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.
Several users have reported mem leak in web frameworks.



 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.
So this is not creating mem leak in driver for now.
Still we might as well fix it, but low priority

Generated at Thu Feb 08 08:52:04 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.