Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-9478

DWPTDeleteQueue leaks memory

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 9.0, 8.7, 8.6.1
    • 9.0, 8.7, 8.6.2
    • None
    • None
    • New, Patch Available

    Description

      We introduced a broken behavior that leaks memory in DWPTDeleteQueue recently (LUCENE-9304) The line here tries to be smart and even adds a comment that the current impl is safe but it isn't if you reference a final member in a lambda it references this which holds on to the object. I think we need to do a quick 8.6.2 for this.

      Attachments

        Issue Links

          Activity

            People

              simonw Simon Willnauer
              simonw Simon Willnauer
              Votes:
              0 Vote for this issue
              Watchers:
              5 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 - 2.5h
                  2.5h