Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-15958

[Java][Docs] Document HistoricalLog for debugging

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              lidavidm David Li
              lidavidm David Li
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 50m
                  1h 50m