GitHub user heary-cao opened a pull request: https://github.com/apache/spark/pull/21968
[SPARK-24999][SQL]Reduce unnecessary 'new' memory operations ## What changes were proposed in this pull request? This PR is to solve the CodeGen code generated by fast hash, and there is no need to apply for a block of memory for every new entry, because unsafeRow's memory can be reused. ## How was this patch tested? the existed test cases. You can merge this pull request into a Git repository by running: $ git pull https://github.com/heary-cao/spark updateNewMemory Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/21968.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 #21968 ---- commit c31597272c10c695d74a7a497ee76fd310026cfd Author: caoxuewen <cao.xuewen@...> Date: 2018-08-02T11:50:44Z Reduce unnecessary 'new' memory operations ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org