netty5/common/src/test
Nick Hill d3011d4f5b 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-05 15:21:09 +01:00
..
java/io/netty/util Use interval instead of mask comparison for Recycler ratio (#9748) 2019-11-05 15:21:09 +01:00
resources Add logging configuration to pom.xml 2016-05-09 15:18:01 +02:00
templates/io/netty/util/collection Add test for Iterator.remove() on KObjectHashMap.values().iterator() (#8891) 2019-02-27 12:06:46 +01:00