MemoryMappedBuffer flushing
Bobrowski, Maciej
Maciej.Bobrowski at morganstanley.com
Tue Sep 23 10:02:24 UTC 2014
Hi All,
Given that I am using a memory-mapped file, with an underlying O/S page sie of e.g. 4KB, are there any guarantees about when the flush (page synch) will be performed with respect to writes?
For instance: If I write 100 bytes to the page A, will those 100 bytes always be reflected fully or can O/S synch at an arbitrary time, let's say after writing just 10 bytes? Are there any guarantees, for instance, that an aligned int write will be fully reflected upon page synch?
Thanks a lot in advance for any info.
Maciej
________________________________
NOTICE: Morgan Stanley is not acting as a municipal advisor and the opinions or views contained herein are not intended to be, and do not constitute, advice within the meaning of Section 975 of the Dodd-Frank Wall Street Reform and Consumer Protection Act. If you have received this communication in error, please destroy all electronic and paper copies and notify the sender immediately. Mistransmission is not intended to waive confidentiality or privilege. Morgan Stanley reserves the right, to the extent permitted under applicable law, to monitor electronic communications. This message is subject to terms available at the following link: http://www.morganstanley.com/disclaimers If you cannot access these links, please notify us by reply message and we will send the contents to you. By messaging with Morgan Stanley you consent to the foregoing.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20140923/d7068bf3/attachment.html>
More information about the nio-dev
mailing list