Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-1218

Remove DBPort.finalize() method

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.12.2
    • Component/s: Performance
    • Labels:
      None

      Description

      The DBPort.finalize() method is unnecessary, as the connection pool takes care of closing DBPort instances. In general, finalizers increase the amount of work for the garbage collector, so they should not exist unless absolutely necessary.

        Attachments

          Activity

            People

            Assignee:
            jeff.yemin Jeffrey Yemin
            Reporter:
            jeff.yemin Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: