[ https://issues.apache.org/jira/browse/STORM-3543?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ethan Li closed STORM-3543. --------------------------- Resolution: Fixed Thanks [~cjljohnson]. I merged this to master > 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 > Fix For: 2.2.0 > > Time Spent: 40m > 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)