netty5/buffer/src/main/java/io/netty
Norman Maurer d93f906255 [#4198] Fix race-condition when allocate from multiple-thread.
Motivation:

Fix a race condition that was introduced by f18990a8a5 that could lead to a NPE when allocate from the PooledByteBufAllocator concurrently by many threads.

Modifications:

Correctly synchronize on the PoolSubPage head.

Result:

No more race.
2015-10-27 07:39:42 +01:00
..
buffer [#4198] Fix race-condition when allocate from multiple-thread. 2015-10-27 07:39:42 +01:00