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

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • None
    • Affects Version/s: None
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: