davisusanibar commented on code in PR #12656:
URL: https://github.com/apache/arrow/pull/12656#discussion_r913862081
##########
java/memory/memory-core/src/main/java/org/apache/arrow/memory/ArrowBuf.java:
##########
@@ -1111,6 +1113,16 @@ public void print(StringBuilder sb, int indent,
Verbosity verbosity) {
}
}
+ /**
+ * Print detailed information of this buffer into <code>sb</code>.
+ *
+ * <p>Most information will only be present if BaseAllocator.DEBUG is true.
+ *
+ */
+ public void print(StringBuilder sb, int indent) {
Review Comment:
This is really useful at closed with outstanding buffers allocated.
Could it be possible to show this error log if
`-Darrow.memory.debug.allocator=true` is enabled? It means get this log
implicitly and not needed to call `print` method?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]