Matteo Merli created BOOKKEEPER-1063:
----------------------------------------

             Summary: Use executure.execute() instead of submit() to avoid 
creation of unused FutureTask
                 Key: BOOKKEEPER-1063
                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-1063
             Project: Bookkeeper
          Issue Type: Improvement
            Reporter: Matteo Merli
            Assignee: Matteo Merli
            Priority: Minor
             Fix For: 4.5.0


When submitting tasks to an executor, if the {{FutureTask}} object is not being 
used we should use {{execute()}} instead of {{submit()}} in order to avoid the 
task object allocation.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to