ShadowySpirits commented on code in PR #6507:
URL: https://github.com/apache/rocketmq/pull/6507#discussion_r1192094556
##########
store/src/main/java/org/apache/rocketmq/store/util/LibC.java:
##########
@@ -50,4 +52,8 @@ public interface LibC extends Library {
int mlockall(int flags);
int msync(Pointer p, NativeLong length, int flags);
+
+ int mincore(Pointer p, NativeLong length, byte[] vec);
Review Comment:
`MappedByteBuffer#isLoaded0` supports specifying the page you want to detect
as a parameter
```java
private native boolean isLoaded0(long address, long length, int pageCount);
```
--
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]