Uploaded image for project: 'CarbonData'
  1. CarbonData
  2. CARBONDATA-2184

Improve memory reuse for heap memory in `HeapMemoryAllocator`

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.0, 1.3.1
    • Component/s: core
    • Labels:
      None

      Description

      The description in SPARK-21860:
      In `HeapMemoryAllocator`, when allocating memory from pool, and the key of pool is memory size.
      Actually some size of memory ,such as 1025bytes,1026bytes,......1032bytes, we can think they are the sameļ¼Œbecause we allocate memory in multiples of 8 bytes.
      In this case, we can improve memory reuse.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                zzcclp Zhichao Zhang
                Reporter:
                zzcclp Zhichao Zhang
              • Votes:
                0 Vote for this issue
                Watchers:
                1 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 - 4h 10m
                  4h 10m