JDK 9 RFR of 8168628: (ch) JVM Crash in : ~StubRoutines::jshort_disjoint_arraycopy
Brian Burkhalter
brian.burkhalter at oracle.com
Wed Dec 7 16:19:51 UTC 2016
On Dec 7, 2016, at 8:09 AM, Alan Bateman <Alan.Bateman at oracle.com> wrote:
>> So am I OK to push this patch now as-is, is more work required, or should it be deferred to JDK 10?
>>
> It's probably okay although we should never be calling allocate0 to truncate the file. That is, I'd prefer if allocate0 was just a simpler that called fallocate, keep all decisions in FileChannelImpl.
I see what you are saying. If preferable I can change allocate0() to be like
#if defined(__linux__)
fallocate64()
#else
ftruncate64()
#endif
Thanks,
Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20161207/2b7807a9/attachment.html>
More information about the nio-dev
mailing list