diff --git a/gluten-core/src/main/scala/org/apache/spark/memory/SparkMemoryUtil.scala b/gluten-core/src/main/scala/org/apache/spark/memory/SparkMemoryUtil.scala index aa70571850b1..8ae9197a212f 100644 --- a/gluten-core/src/main/scala/org/apache/spark/memory/SparkMemoryUtil.scala +++ b/gluten-core/src/main/scala/org/apache/spark/memory/SparkMemoryUtil.scala @@ -58,6 +58,7 @@ object SparkMemoryUtil { overAcquire.getTarget.accept(this) } + @scala.annotation.nowarn override def visit(regularMemoryConsumer: RegularMemoryConsumer): KnownNameAndStats = { collectFromTaskMemoryManager(regularMemoryConsumer.getTaskMemoryManager) }