horizonzy opened a new pull request, #3677: URL: https://github.com/apache/bookkeeper/pull/3677
Descriptions of the changes in this PR: In #3252, it only uses poolMxBeanOp to get direct memory usage. It only works in jdk11. But if the user still uses the old version, netty still uses `NoCleanerConstructor` ByteBuffer to allocate direct memory, the poolMxBeanOp didn't cover it. We should check the netty `PlatformDependent.useDirectBufferNoCleaner()`, then choose the corresponding way to get direct memory usage. -- 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]
