uschindler commented on issue #15068:
URL: https://github.com/apache/lucene/issues/15068#issuecomment-3211113499

   Hi,
   
   I think this is a real bug. The problem is that the close code has this 
while spin-loop (because it may happen that Arena's close may not work on 
highly concurrent workloads). The problem is that the spin-loop checks the 
inner scope's isAlive(), whis stays alive if the refcount does not reach "0". 
So basically the RefCountedSharedArena code also needs to keep track of the 
inner scope!
   
   I wonder why it works correct at all! @ChrisHegarty ?


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

Reply via email to