netty5/common
Nick Hill 17bffce90e Use interval instead of mask comparison for Recycler ratio (#9748)
Motivation

The recycling ratio is currently implemented by comparing with a masked
count. The mask operation is not free and also not necessary.

Modification

Change the count(s) to just iterate over the corresponding interval,
which requires only a comparison and no mask.

Also make "first time recycle" behaviour consistent and revert change to
RecyclerTest made in #9727.

Result

Less recycling overhead
2019-11-04 11:24:20 +01:00
..
src Use interval instead of mask comparison for Recycler ratio (#9748) 2019-11-04 11:24:20 +01:00
pom.xml Add BlockHound integration that detects blocking calls in event loops (#9687) 2019-10-25 06:14:14 -07:00