JDK 9 RFR of 8168628: (ch) JVM Crash in : ~StubRoutines::jshort_disjoint_arraycopy
Alan.Bateman at oracle.com
Tue Dec 6 16:31:15 UTC 2016
On 06/12/2016 16:26, Brian Burkhalter wrote:
> On Dec 6, 2016, at 6:01 AM, Alan Bateman <Alan.Bateman at oracle.com
> <mailto:Alan.Bateman at oracle.com>> wrote:
>> Looking at FileDispatcherImpl.allocate0 then I assume the fstat64 to
>> check the file size isn't needed - we should only be calling
>> allocate0 when extending the file.
> I think that is what it is doing, no?
My comment the check if the file is being extended is at L911 of
FileChannelImpl so I would expect that to call allocate0 or truncate0
depending on whether it is extending or shrinking.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nio-dev