GitHub user LuciferYang opened a pull request: https://github.com/apache/spark/pull/23214
[SPARK-26155] Optimizing the performance of LongToUnsafeRowMap ## What changes were proposed in this pull request? To slove @JkSelf report problem at [SPARK-26155](https://issues.apache.org/jira/browse/SPARK-26155), use LongAdder instead of Long of `numKeyLookups` and `numProbes` to reduce add operation times. @JkSelf test this patch in Intel performance testing environment and run TPCDS sqls after this patch with Spark-2.3 and master no longer slower than Spark-2.1. ## How was this patch tested? N/A You can merge this pull request into a Git repository by running: $ git pull https://github.com/LuciferYang/spark spark-26155 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/23214.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 #23214 ---- commit 34decea2f59d9fb3930f4d2ca1ad8a625d0409ea Author: yangjie01 <yangjie01@...> Date: 2018-12-04T05:49:19Z use LongAdder instead of Long ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org