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

A common Cleaner for general use may be useful

    XMLWordPrintable

Details

    • Enhancement
    • Status: Open
    • P4
    • Resolution: Unresolved
    • 9
    • tbd
    • core-libs
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: