netty5/buffer/src
Norman Maurer 1d23e358b4 Only increment metric for huge / normal allocations after the allocation was really done.
Motivation:

We should only increment the metric for the huge / normal allocation after it is done. Also we should only decrement once deallocate.

Modifications:

- Move increment after the allocation.
- Fix deallocation metric and move it after deallocation

Result:

More correct metrics.
2016-04-05 12:00:44 +02:00
..
main/java/io/netty/buffer Only increment metric for huge / normal allocations after the allocation was really done. 2016-04-05 12:00:44 +02:00
test/java/io/netty/buffer Fix setBytes when source is read-only ByteBuffer and target is pooled buffer 2016-03-22 09:18:44 +01:00