Skip to content

Commit de5e001

Browse files
committed
Fix debug vs. trace in logging message.
1 parent a19e066 commit de5e001

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

unsafe/src/main/java/org/apache/spark/unsafe/memory/MemoryManager.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,8 @@ public MemoryBlock allocatePage(long size) {
127127
* Free a block of memory allocated via {@link MemoryManager#allocatePage(long)}.
128128
*/
129129
public void freePage(MemoryBlock page) {
130-
if (logger.isDebugEnabled()) {
131-
logger.debug("Freeing page number {} ({} bytes)", page.pageNumber, page.size());
130+
if (logger.isTraceEnabled()) {
131+
logger.trace("Freeing page number {} ({} bytes)", page.pageNumber, page.size());
132132
}
133133
assert (page.pageNumber != -1) :
134134
"Called freePage() on memory that wasn't allocated with allocatePage()";

0 commit comments

Comments
 (0)