[
https://issues.apache.org/jira/browse/QPID-8704?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18011129#comment-18011129
]
ASF GitHub Bot commented on QPID-8704:
--------------------------------------
vavrtom merged PR #304:
URL: https://github.com/apache/qpid-broker-j/pull/304
> [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: [email protected]
For additional commands, e-mail: [email protected]