From 17cd241f5e3a34f2da74ab5b8ea0da08261c2d1b Mon Sep 17 00:00:00 2001 From: zhaokuo Date: Wed, 18 Dec 2024 18:15:46 +0800 Subject: [PATCH] Remove preconditions in OverAcquire.repay --- .../java/org/apache/gluten/memory/memtarget/OverAcquire.java | 1 - 1 file changed, 1 deletion(-) diff --git a/gluten-core/src/main/java/org/apache/gluten/memory/memtarget/OverAcquire.java b/gluten-core/src/main/java/org/apache/gluten/memory/memtarget/OverAcquire.java index 7724083d6852..06b97176a705 100644 --- a/gluten-core/src/main/java/org/apache/gluten/memory/memtarget/OverAcquire.java +++ b/gluten-core/src/main/java/org/apache/gluten/memory/memtarget/OverAcquire.java @@ -74,7 +74,6 @@ public long repay(long size) { if (size == 0) { return 0; } - Preconditions.checkState(overTarget.usedBytes() == 0); return target.repay(size); }