Github user maropu commented on a diff in the pull request: https://github.com/apache/spark/pull/21570#discussion_r195891774 --- Diff: core/src/test/java/org/apache/spark/memory/TestMemoryConsumer.java --- @@ -43,6 +45,12 @@ void free(long size) { used -= size; taskMemoryManager.releaseExecutionMemory(size, this); } + + // Exposed for testing --- End diff -- super nit: we need this comment? This class itself is used for test use only?
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org