Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-3543

Avoid iterators for task hook info objects

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              cjljohnson Christopher Johnson
              cjljohnson Christopher Johnson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m