Christopher Johnson created STORM-3543:
------------------------------------------

             Summary: 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


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