[ https://issues.apache.org/jira/browse/BOOKKEEPER-1063?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16008225#comment-16008225 ]
ASF GitHub Bot commented on BOOKKEEPER-1063: -------------------------------------------- Github user asfgit closed the pull request at: https://github.com/apache/bookkeeper/pull/150 > 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)