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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • None
    • None
    • tools
    • None
    • jmh

      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.

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

              Created:
              Updated:
              Resolved: