[ 
https://issues.apache.org/jira/browse/QPID-8704?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18008947#comment-18008947
 ] 

ASF GitHub Bot commented on QPID-8704:
--------------------------------------

dakirily opened a new pull request, #304:
URL: https://github.com/apache/qpid-broker-j/pull/304

   This PR addresses JIRA 
[QPID-8704](https://issues.apache.org/jira/browse/QPID-8704), optimizing 
TaskExecutorImpl subject handling and execution




> [Broker-J] Optimize TaskExecutorImpl subject handling and execution
> -------------------------------------------------------------------
>
>                 Key: QPID-8704
>                 URL: https://issues.apache.org/jira/browse/QPID-8704
>             Project: Qpid
>          Issue Type: Bug
>          Components: Broker-J
>    Affects Versions: qpid-java-broker-9.2.1
>            Reporter: Daniil Kirilyuk
>            Priority: Minor
>             Fix For: qpid-java-broker-10.0.0
>
>
> Under heavy load there were observed issues in TaskExecutorImpl: 
> RunnableWrapper#cancel() may throw an NPE when the underlying _future 
> variable isn't set, caching wasn't providing a significant performance boost 
> while increasing heap memory usage, calls coming from the task thread could 
> cause unnecessary context switching.
> There should be additional null checks added, caching should be removed, 
> logic for calls coming from the task thread should be simplified.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to