On 18/05/2020 09:48, Peter Levart wrote:
I was chatting with Claes about this last week and the concern with doing this is that it creates problems for async close because it increases the window where the native code is using a "raw" file descriptor.Hi Claes,One step further would be to eliminate access to FileDescriptor.fd/handle from native hot paths altogether and pass the fd/handle to native methods from java:
-Alan