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

Lock free buffer pool

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.7.0
    • Affects Version/s: None
    • Component/s: Internal, Performance
    • None
    • Fully Compatible
    • Not Needed

      com.mongodb.internal.connection.PowerOfTwoBufferPool currently users com.mongodb.internal.connection.ConcurrentPool to implement its pooling behavior.  ConcurrentPool has synchronization overhead that is unnecessary based on PowerofTwoBufferPool's usage of it.  We can improve the efficiency of PowerOfTwoBufferPool by replacing it's use of ConcurrentPool with direct usage of ConcurrentLinkedDeque.

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

              Created:
              Updated:
              Resolved: