franz1981 commented on a change in pull request #2844: ARTEMIS-1811 NIO Seq 
File should use RandomAccessFile with heap buffers
URL: https://github.com/apache/activemq-artemis/pull/2844#discussion_r326859418
 
 

 ##########
 File path: 
artemis-journal/src/main/java/org/apache/activemq/artemis/core/io/nio/NIOSequentialFile.java
 ##########
 @@ -173,6 +173,40 @@ public int read(final ByteBuffer bytes) throws Exception {
       return read(bytes, null);
    }
 
+   //On *nix platform is the size by which RandomAccessFile write/read are 
performed using a
+   //stack-allocated copy of the java byte[]
 
 Review comment:
   I've verified that is a the same behaviour for Windows: it is in the shared 
JNI code by any OSs

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to