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

Delay creation of DBDecoder in DBPort until after the socket is successfully opened

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 2.12.2
    • None
    • Performance
    • None

    Description

      In some cases the driver creates DBPort instances at a high rate, and since DBDecoder instances can contain large arrays that put stress on the garbage collector, they should only be constructed after DBPort has successfully connected.

      Attachments

        Activity

          People

            jeff.yemin@mongodb.com Jeffrey Yemin
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: