You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@activemq.apache.org by GitBox <gi...@apache.org> on 2019/11/25 19:58:08 UTC

[GitHub] [activemq-artemis-native] clebertsuconic commented on a change in pull request #6: Artemis 2562 Reduces context-switches on iocb pool

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:
users@infra.apache.org


With regards,
Apache Git Services