Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-12058 [Umbrella] Reduce unnecessary object allocations
  3. HBASE-12077

FilterLists create many ArrayList$Itr objects per row.

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.98.7, 0.94.24, 0.99.1
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Almost all methods in FilterList do work on behalf of the passed list of filters, which - you guessed it - is always an ArrayList and we always iterate over those with an iterator. Multiple of these methods are called for each row leading to creating about 10 Itrs for every single row touched (whether filtered or not)

        Attachments

        1. HBASE-12077-0.94.patch
          5 kB
          Andrew Kyle Purtell
        2. HBASE-12077.patch
          6 kB
          Ashish Singhi
        3. 12077-0.98.txt
          5 kB
          Lars Hofhansl

          Activity

            People

            • Assignee:
              larsh Lars Hofhansl
              Reporter:
              larsh Lars Hofhansl

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment