Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8145041

A common Cleaner for general use may be useful

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • tbd
    • 9
    • core-libs
    • None

      java.lang.ref.Cleaner supports lightweight cleanup of object without using finalization. It is up to each class or library to create or share a Cleaner object.
      It may be useful to have a common Cleaner to amortize the cost of the thread needed by the cleaner.
      There is a risk to applications sharing a cleaner that a misbehaving cleaning function might delay or disrupt cleaning.

            rriggs Roger Riggs
            rriggs Roger Riggs
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: