<div dir="ltr"><div dir="ltr">On Sat, Jan 28, 2023 at 6:06 PM Alan Bateman <<a href="mailto:Alan.Bateman@oracle.com">Alan.Bateman@oracle.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">8k is the threshold at which RAF spills into a temporary malloc'ed <br>
buffer for the I/O operation. At some point the RAF implementation will <br>
be replaced (we need to do this for a Project Loom), but in the mean <br>
time, it probably would require testing on a wide set of platforms and <br>
conditions to see the impact.<br></blockquote><div><br></div><div>Makes sense! </div><div><br></div><div>Would it be worth going through a PR to add a comment to document this somewhat obscure code?</div><div><br></div><div><a href="https://github.com/openjdk/jdk/compare/master...eirbjo:jdk:raf-buf-threshold">https://github.com/openjdk/jdk/compare/master...eirbjo:jdk:raf-buf-threshold</a></div><div><br></div><div>Thanks,</div><div>Eirik. </div></div></div>