uschindler commented on PR #16145:
URL: https://github.com/apache/lucene/pull/16145#issuecomment-4592514556

   Why does the field need to be volatile at all? It is per-instance and each 
instance should only be used from one thread. This is also true for random 
access slices because some implementations of RandomAccess are NOT thread-safe 
(e.g., the default impl used by NIOFSDirectory).


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to