maropu commented on a change in pull request #28463:
URL: https://github.com/apache/spark/pull/28463#discussion_r422031235
##########
File path: core/src/main/scala/org/apache/spark/util/ClosureCleaner.scala
##########
@@ -256,7 +226,7 @@ private[spark] object ClosureCleaner extends Logging {
return
}
- if (lambdaFunc.isEmpty) {
+ if (maybeIndylambdaProxy.isEmpty) {
logDebug(s"+++ Cleaning closure $func (${func.getClass.getName}) +++")
Review comment:
nit: how about explicitly saying this is an old style closure here?
e.g., `Cleaning old style closure $func`, `Cleaning inline closure $func`, ...?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]