uschindler commented on PR #12066: URL: https://github.com/apache/lucene/pull/12066#issuecomment-1370980047
I cleaned up the code more: - removed the useless doPrivileged block around the actual unmapping. We just call a MethodHandle and the Java 9+ version has no security checks. - put the whole `MMapDirectory` clinit into one doPrivileged block - add more info to log messages, especially when permissions are missing; log how to disable MemorySegments -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org