We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9d2778 commit 0e22535Copy full SHA for 0e22535
memory/memory-core/src/main/java/org/apache/arrow/memory/BaseAllocator.java
@@ -432,6 +432,20 @@ public AllocationReservation newReservation() {
432
433
@Override
434
public synchronized void close() {
435
+ try {
436
+ closeImpl();
437
+ } catch (Exception e) {
438
+ logger.warn(
439
+ "BufferAllocator.close() of {} got an exception {} - Details {}",
440
+ this,
441
+ e,
442
+ this.toVerboseString());
443
+
444
+ throw e;
445
+ }
446
447
448
+ private synchronized void closeImpl() {
449
/*
450
* Some owners may close more than once because of complex cleanup and shutdown
451
* procedures.
0 commit comments