David Li created ARROW-15958:
--------------------------------
Summary: [Java][Docs] Document HistoricalLog for debugging
Key: ARROW-15958
URL: https://issues.apache.org/jira/browse/ARROW-15958
Project: Apache Arrow
Issue Type: Improvement
Components: Documentation, Java
Reporter: David Li
{{BufferLedger}} has a {{HistoricalLog}} which records stack traces at various
events in the buffer's life, such as when it was first allocated and upon
incrementing/decrementing reference counts. While somewhat of an implementation
detail, this information is useful for debugging, especially for tracking down
memory leaks. We could document it (with a suitable warning).
However, the stack trace is less useful than it first appears because it
accidentally truncates the log. We should fix that too.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)