shanielh opened a new pull request, #11895:
URL: https://github.com/apache/iceberg/pull/11895

   Instead of using ConcurrentLinkedQueue.size() which runs over the Linked 
Queue
   in order to get the size of the queue, manage an AtomicInteger with the size
   of the queue.
   
   ConcurrentLinkedQueue.size() documentation states that this method is not
   useful for concurrent applications.
   
   Note: I have a JFR dump that shows this method uses 35% CPU utilization, this
   is why I think this commit is important.


-- 
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...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to