netty5/buffer/src
Trustin Lee ea3dac0753 Do not use a pseudo random for tree traversal
Motivation:

If we make allocateRun/SubpageSimple() always try the left node first and make allocateRun/Subpage() always tries the right node first,  it is more likely that allocateRun/Subpage() will find a node with ST_UNUSED sooner.

Modifications:

- Make allocateRunSimple() and allocateSubpageSimple() always try the left node first.
- Make allocateRun() and allocateSubpage() always try the right node first.
- Remove randome

Result:

We get the same performance without using random numbers.
2014-05-30 11:24:16 +09:00
..
main/java/io/netty/buffer Do not use a pseudo random for tree traversal 2014-05-30 11:24:16 +09:00
test/java/io/netty/buffer Fix capacity check bug affecting offheap buffers 2014-05-13 07:25:15 +02:00