[JAVA-1219] Delay creation of DBDecoder in DBPort until after the socket is successfully opened Created: 13/May/14  Updated: 01/Aug/14  Resolved: 14/May/14

Status: Closed
Project: Java Driver
Component/s: Performance
Affects Version/s: None
Fix Version/s: 2.12.2

Type: Improvement Priority: Minor - P4
Reporter: Jeffrey Yemin Assignee: Jeffrey Yemin
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 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.



 Comments   
Comment by Githook User [ 01/Aug/14 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: JAVA-1219: Delay creation of DBDecoder in DBPort until after the socket is successfully opened
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/784e1fde629b7ab6ac709c90196a0da1cf17d939

Comment by Githook User [ 14/May/14 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: JAVA-1219: Delay creation of DBDecoder in DBPort until after the socket is successfully opened
Branch: 2.12.x
https://github.com/mongodb/mongo-java-driver/commit/784e1fde629b7ab6ac709c90196a0da1cf17d939

Generated at Thu Feb 08 08:54:05 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.