RFR: 6539707: (fc) MappedByteBuffer.force() method throws an IOException in a very simple test [v4]

Brian Burkhalter brian.burkhalter at oracle.com
Fri Mar 12 16:29:07 UTC 2021


> On Mar 12, 2021, at 3:50 AM, Thomas Stuefe <stuefe at openjdk.java.net> wrote:
> 
> FWIW it looks good to me too (does what you said it would do). Lacking any information, we cannot do better. Would be nice to know e.g. if injecting a ms sleep would help instead of busy spinning into FlushViewOfFile in such a short succession.

If we can obtain some more information from MS then perhaps a better solution can be devised, or eventually if FlushViewOfFile is fixed, tthe workaround removed altogether.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/nio-dev/attachments/20210312/336b5794/attachment.htm>


More information about the nio-dev mailing list