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/15 21:21:04 UTC

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

     [ https://issues.apache.org/jira/browse/BOOKKEEPER-1063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matteo Merli resolved BOOKKEEPER-1063.
--------------------------------------
    Resolution: Fixed

> 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)