Daniil Kirilyuk created QPID-8704:
-------------------------------------
Summary: [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
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]