Shoothzj opened a new pull request, #3252: URL: https://github.com/apache/bookkeeper/pull/3252
Fix #2637 #3247 ### Motivation The mertics about `jvm_memory_direct_bytes_used` is acquired by netty's `PlatformDependent#DIRECT_MEMORY_COUNTER`. Which can only acquired the memory used by netty. ### Changes - use `java.nio.Bits#RESERVED_MEMORY` for jvm direct memory metrics. - add tests to ensure `jvm_memory_direct_bytes_max` and `jvm_memory_direct_bytes_used` gets value. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
