This is an automated email from the ASF dual-hosted git repository.
hongze pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-gluten.git
The following commit(s) were added to refs/heads/main by this push:
new aff865bbe9 [GLUTEN-8268][CORE] Remove preconditions in
OverAcquire.repay (#8269)
aff865bbe9 is described below
commit aff865bbe900f4cbce5bde79aa65ee30a5ebe912
Author: zhaokuo <[email protected]>
AuthorDate: Thu Dec 19 09:25:26 2024 +0800
[GLUTEN-8268][CORE] Remove preconditions in OverAcquire.repay (#8269)
Closes #8268
---
.../src/main/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 7724083d68..06b97176a7 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 class OverAcquire implements MemoryTarget {
if (size == 0) {
return 0;
}
- Preconditions.checkState(overTarget.usedBytes() == 0);
return target.repay(size);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]