rtadepalli commented on PR #36152: URL: https://github.com/apache/arrow/pull/36152#issuecomment-1597109933
`keyPosition` is only being read and written to, both of which should be one instruction each. Per my understanding, I don't think we need `AtomicInteger` here; `volatile` should suffice. Please let me know if I am missing something. -- 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]
