Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7901867

Blackhole.consume(Object) should additionally protect from retaining objects forever

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: tools
    • Labels:
      None
    • Subcomponent:
      jmh

      Description

      Following the fiasco of CODETOOLS-7901865, we need to provide a defense in depth: do not retain consumed objects strongly, but do either weak-, or phantom-reference. This way, even if infra does not call evaporate(), we will still be able to ditch the consumed object.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              shade Aleksey Shipilev
              Reporter:
              shade Aleksey Shipilev
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: