[JAVA-5105] Get rid of all synchronized blocks and methods in production code Created: 11/Aug/23  Updated: 30/Aug/23  Resolved: 30/Aug/23

Status: Closed
Project: Java Driver
Component/s: Internal
Affects Version/s: None
Fix Version/s: 4.11.0

Type: Improvement Priority: Unknown
Reporter: Valentin Kavalenka Assignee: Valentin Kavalenka
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: Virtual Threads Support
Quarter: FY24Q3
Backwards Compatibility: Fully Compatible
Documentation Changes: Not Needed
Documentation Changes Summary:

1. What would you like to communicate to the user about this feature?
2. Would you like the user to see examples of the syntax and/or executable code and its output?
3. Which versions of the driver/connector does this apply to?


 Description   

This ticket is created based on the result of the investigation in JAVA-4642. See this comment and the ones before it.

Relevant classes:

  • com.mongodb.internal.connection.ExponentiallyWeightedMovingAverage
  • org.bson.codecs.pojo.LazyPropertyModelCodec
  • com.mongodb.internal.authentication.AzureCredentialHelper
  • com.mongodb.internal.connection.DefaultServerMonitor
  • com.mongodb.internal.operation.AsyncQueryBatchCursor
  • com.mongodb.DBCollection
  • com.mongodb.reactivestreams.client.internal.gridfs.ResizingByteBufferFlux
  • com.mongodb.internal.connection.AsynchronousChannelStream
  • com.mongodb.connection.netty.NettyStream


 Comments   
Comment by Githook User [ 30/Aug/23 ]

Author:

{'name': 'Valentin Kovalenko', 'email': 'valentin.kovalenko@mongodb.com', 'username': 'stIncMale'}

Message: Get rid of all `synchronized` blocks and methods in production code (#1178)

JAVA-5105
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/82bc1b8fe236a1cf24f02efcbc1d947f7e34f8ab

Generated at Thu Feb 08 09:03:45 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.