clebertsuconic commented on a change in pull request #6: Artemis 2562 Reduces 
context-switches on iocb pool
URL: 
https://github.com/apache/activemq-artemis-native/pull/6#discussion_r350391391
 
 

 ##########
 File path: 
src/main/c/org_apache_activemq_artemis_nativo_jlibaio_LibaioContext.c
 ##########
 @@ -502,7 +502,7 @@ static inline void iocb_destroy_bounded(struct io_control 
* theControl, int uppe
  * @param theControl
  */
 static inline void iocb_destroy(struct io_control * theControl) {
-    iocb_destroy_bounded(theControl, theControl->queueSize);
 
 Review comment:
   it should really be the queueSize here for correctness... at this point 
queueSize should be == available though, in which case you could assert.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to