JDK 9 RFR of 8168628: (ch) JVM Crash in : ~StubRoutines::jshort_disjoint_arraycopy
Alan Bateman
Alan.Bateman at oracle.com
Wed Dec 7 16:24:59 UTC 2016
On 07/12/2016 16:19, Brian Burkhalter wrote:
> On Dec 7, 2016, at 8:09 AM, Alan Bateman <Alan.Bateman at oracle.com
> <mailto: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
>
Good, I'd be happy with that.
-Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20161207/42643ba3/attachment-0001.html>
More information about the nio-dev
mailing list