[PING] JDK 10 RFR of 8184157: (ch) AsynchronousFileChannel hangs with internal error when reading locked file
brian.burkhalter at oracle.com
Fri Aug 11 19:57:57 UTC 2017
On Aug 11, 2017, at 6:49 AM, Roger Riggs <Roger.Riggs at Oracle.com> wrote:
> I'm not sure I have enough background to fully review this.
> Seeing that overlapped (some) memory is freed only at close, can there be a problem with
> a very active channel that is open for a long time to accumulate/leak native memory?
> PendingIoCache:135-136: Or is that just belt and suspenders?
No I think that is a very good point. After invalidate() the value of “overlapped” is needed but I don’t think the memory it points to. I think the freeMemory() call should be moved into invalidate(). Good catch! I will update and re-post.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nio-dev