Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PooledByteBufAllocatorTest may has memory visiblity issues as it uses…
… non concurrent queue Motivation: PooledByteBufAllocatorTest uses an ArrayQueue but access it from multiple threads (not concurrently but still from different threads). This may leak to memory visibility issues. Modifications: - Use a concurrent queue - Some cleanup Result: Non racy test code.
- Loading branch information
1 parent
2b8fd8d
commit 243b2b9
Showing
1 changed file
with
14 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters