msfroh opened a new pull request, #15805:
URL: https://github.com/apache/lucene/pull/15805

   ### Description
   
   This should reduce lock contention in `StringHelper.randomId()` by replacing 
with optimistic locking. We also move the `toByteArray()` call out of the 
lock/concurrent update.
   
   As a bonus, we clean up one more instance of a non-final static field by 
replacing it with a `final AtomicReference`.
   


-- 
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