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

Christopher Johnson updated STORM-3543:
---------------------------------------
    External issue URL: https://github.com/apache/storm/pull/3171

> Avoid iterators for task hook info objects
> ------------------------------------------
>
>                 Key: STORM-3543
>                 URL: https://issues.apache.org/jira/browse/STORM-3543
>             Project: Apache Storm
>          Issue Type: Improvement
>          Components: storm-client
>    Affects Versions: 2.1.0
>            Reporter: Christopher Johnson
>            Assignee: Christopher Johnson
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> A big drive was made in 2.0 to avoid iterators on the critical path to reduce 
> garbage collection.
>  
> When task hooks are used, an iterator is used for each info object to pass it 
> to all hooks.
>  
> As this is on the critical path when task hooks are used, the same reasoning 
> should apply and the iterators be replaced with for loops.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to