netty5/buffer
Scott Mitchell 32627d712a Avoid auto boxing in PoolChunk#removeAvailRun (#10769)
Motivation:
PoolChunk maintains multiple PriorityQueue<Long> collections. The usage
of PoolChunk#removeAvailRun unboxes the Long values to long, and then
this method uses queue.remove(..) which will auto box the value back to
Long. This creates unnecessary allocations via Long.valueOf(long).

Modifications:
- Adjust method signature and usage of PoolChunk#removeAvailRun to avoid
boxing

Result:
Less allocations as a result of PoolChunk#removeAvailRun.
2020-11-03 21:09:11 +01:00
..
src Avoid auto boxing in PoolChunk#removeAvailRun (#10769) 2020-11-03 21:09:11 +01:00
pom.xml Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00