apache/spark — pull request #3532 by viirya (2014-12-01 08:26:27+00:00)
Title: [SPARK-4674] Refactor getCallSite

The current version of `getCallSite` visits the collection of `StackTraceElement` twice. However, it is unnecessary since we can perform our work with a single visit. We also do not need to keep filtered `StackTraceElement`.