You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bookkeeper.apache.org by "Matteo Merli (JIRA)" <ji...@apache.org> on 2017/05/10 21:56:04 UTC

[jira] [Created] (BOOKKEEPER-1063) Use executure.execute() instead of submit() to avoid creation of unused FutureTask

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)