[JAVA-4519] Check for leaks in PowerOfTwoBufferPool during test runs Created: 07/Mar/22 Updated: 30/Mar/22 |
|
| Status: | Backlog |
| Project: | Java Driver |
| Component/s: | Test Coverage |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Jeffrey Yemin | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
We recently fixed an issue where the driver was leaking ByteBuf instances that were supposed to be pooled. To make it easier to avoid future leaks, or detect more existing leaks, the driver should check for leaks during test runs, similar to the way it detects connection and session leaks. |