HScarb commented on issue #4202: URL: https://github.com/apache/rocketmq/issues/4202#issuecomment-1107979254
I tested this method, it worked on Linux and dit not work on Windows. ```java LibC INSTANCE = (LibC) Native.loadLibrary(Platform.isWindows() ? "msvcrt" : "c", LibC.class); ``` This is a default JNA usage of C library for binding C functions to java interface, but `mlock` and `madvise` not exist on windows -- 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]
