liuxian created SPARK-21860:
-------------------------------

             Summary: Optimize heap memory allocator
                 Key: SPARK-21860
                 URL: https://issues.apache.org/jira/browse/SPARK-21860
             Project: Spark
          Issue Type: Improvement
          Components: Spark Core
    Affects Versions: 2.3.0
            Reporter: liuxian
            Priority: Minor


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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to