netty5/common/src
Enrico Olivelli eb1d12c757 Expose the global direct memory counter. (#8945)
Motivation:
This counter is very useful in order to monitor Netty without having every ByteBufAllocator in the JVM

Modification:
Expose the value of DIRECT_MEMORY_COUNTER as we are already doing for DIRECT_MEMORY_LIMIT.
We are returning -1 in case that DIRECT_MEMORY_COUNTER is not available.

Result:

Be able to get the amount of direct memory used.
2019-03-19 08:34:35 +01:00
..
main Expose the global direct memory counter. (#8945) 2019-03-19 08:34:35 +01:00
test Correctly monkey-patch id also in whe os / arch is used within library name. (#8913) 2019-03-05 09:10:26 +01:00