315157973 opened a new pull request #11788:
URL: https://github.com/apache/pulsar/pull/11788


   Fixes #11783
   
   ### Motivation
   Looks like this issue was introduced by #9650
   
   ### Modifications
   pendingMessages is a very frequently used queue. In order to avoid GC, I 
used `ArrayBlockingQueue` instead of `LinkedBlockingDeque`
   But when the capacity of `ArrayBlockingQueue` is set to 0, an exception will 
be thrown. Therefore, when the initial capacity is 0, `LinkedBlockingDeque` is 
used
   
   
   ### Documentation
   
   no need doc


-- 
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: commits-unsubscr...@pulsar.apache.org

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


Reply via email to