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

Remove ExemptionMechanism.finalize() implementation

XMLWordPrintable

    • b127
    • Not verified

        The ExemptionMechanism.finalize() is implemented as:

             protected void finalize() {
                keyStored = null;
                // Are there anything else we could do?
            }

        We may want to remove this finalize() method as it really does nothing more than the default finalizer but hurt the performance (See Item 7, Effective Java).

              xuelei Xuelei Fan
              xuelei Xuelei Fan
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: