netty5/buffer
Scott Mitchell 7e1147ea4f
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:08:43 +01:00
..
src Avoid auto boxing in PoolChunk#removeAvailRun (#10769) 2020-11-03 21:08:43 +01:00
pom.xml Enable nohttp check during the build (#10708) 2020-10-23 14:44:18 +02:00