GitHub user kiszk opened a pull request:

    https://github.com/apache/spark/pull/20992

    [SPARK-23779][SQL] TaskMemoryManager and UnsafeSorter related classes use 
MemoryBlock

    ## What changes were proposed in this pull request?
    
    This PR tries to use `MemoryBlock` in `TaskMemoryManager` and 
`UnsafeSorter` related classes. There are two advantages to use `MemoryBlock`.
    
    1. Has clean API calls rather than using a Java array or `PlatformMemory`
    2. Improve runtime performance of memory access instead of using `Object` 
with `Platform.get/put...`.
    
    ## How was this patch tested?
    
    Used existing UTs

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/kiszk/spark SPARK-23779

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/20992.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #20992
    
----
commit 64c5d23c269885a4d90346ef5e1efcfcd0748511
Author: Kazuaki Ishizaki <ishizaki@...>
Date:   2018-04-06T07:16:31Z

    initial commit

----


---

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

Reply via email to