You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Lorenz Quack (JIRA)" <ji...@apache.org> on 2016/10/13 15:52:21 UTC
[jira] [Updated] (QPID-7453) [Java Broker] Hand off selection task
only if connection tasks need to be processed
[ https://issues.apache.org/jira/browse/QPID-7453?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lorenz Quack updated QPID-7453:
-------------------------------
Summary: [Java Broker] Hand off selection task only if connection tasks need to be processed (was: Hand off selection task only if connection tasks need to be processed)
> [Java Broker] Hand off selection task only if connection tasks need to be processed
> -----------------------------------------------------------------------------------
>
> Key: QPID-7453
> URL: https://issues.apache.org/jira/browse/QPID-7453
> Project: Qpid
> Issue Type: Improvement
> Components: Java Broker
> Reporter: Keith Wall
> Assignee: Keith Wall
> Fix For: qpid-java-6.1
>
>
> Currently the selector thread always reschedules the selection task on the workQueue. In the case where the select was awoken for the purpose of reregistering a connection on the selector, there will be no connection work to be done, so the potential hand off to of the selection task will be needless.
> We can simply optimise the algorithm to hand off responsibility for the selection iff there is connection work that can be consumed by this thread.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org