Uploaded image for project: 'QuickFIX/J'
  1. QuickFIX/J
  2. QFJ-484

Session responder lock change inadequate

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Default
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Engine
    • Labels:
      None

      Description

      Using a synchronized block can result in a thread being starved of access to the responder. This should be changed to use a Lock with fair semantics.

      Starvation was observed in a scenario using SocketSynchronousWrites=Y where a slow consumer could not be disconnected because the message writing thread kept re-obtaining the monitor.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jim_b_o James Olsen
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: