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

Remove ExemptionMechanism.finalize() implementation

    Details

    • Subcomponent:
    • Resolved In Build:
      b127
    • Verification:
      Not verified

      Backports

        Description

        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).

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  xuelei Xue-Lei Fan
                  Reporter:
                  xuelei Xue-Lei Fan
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Due:
                    Created:
                    Updated:
                    Resolved: