Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-4004

Assorted improvements to reduce garbage in mutable index codepath

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 4.12.0
    • None
    • None

    Description

      During some $dayjob testing, I found a couple of places where we were unnecessarily creating garbage in the RS. When "forward-porting" this change, most of the areas were already cleaned up but there are a few that still apply.

      • ArrayList initial sizing
      • Avoid indirection of the (single-threaded) ExecutorService in IndexBuildManager (just pure overhead)
      • Some unnecessary KeyValue copies and an array copy (an avoidance of deprecated HBase API)
      • Avoid extra System.arraycopy calls in CoveredColumnIndexCodec via the ArrayUtils.addAll call

      Attachments

        1. PHOENIX-4004.001.patch
          9 kB
          Josh Elser
        2. PHOENIX-4004.002.patch
          16 kB
          Josh Elser

        Activity

          People

            elserj Josh Elser
            elserj Josh Elser
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: