netty5/buffer
buchgr 47b598e6ce Fix race in PoolArena.allocate. Fixes #4829
Motivation:

The statistic counters PoolArena.(allocationsTiny|allocationsSmall) are
not protected by a per arena lock, but by a per size class lock. Thus,
two concurrent allocations of different size (class) could lead to a
race and ultimately to wrong statistics.

Modifications:

Use a thread-safe LongCounter instead of a plain long data type.

Result:

Fewer data races.
2016-03-14 08:58:15 +01:00
..
src Fix race in PoolArena.allocate. Fixes #4829 2016-03-14 08:58:15 +01:00
pom.xml [maven-release-plugin] prepare for next development iteration 2016-01-29 09:57:10 +01:00