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.

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.98.7, 0.94.24, 0.99.1
    • None
    • None
    • 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. 12077-0.98.txt
          5 kB
          Lars Hofhansl
        2. HBASE-12077.patch
          6 kB
          Ashish Singhi
        3. HBASE-12077-0.94.patch
          5 kB
          Andrew Kyle Purtell

        Activity

          People

            larsh Lars Hofhansl
            larsh Lars Hofhansl
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: