[QFJ-421] Session responder lock is too restrictive Created: 20/Mar/09  Updated: 15/Nov/12  Resolved: 20/May/11

Status: Closed
Project: QuickFIX/J
Component/s: None
Affects Version/s: None
Fix Version/s: 1.5.1

Type: Bug Priority: Default
Reporter: Steve Bate Assignee: Eric Deshayes
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Duplicate
is duplicated by QFJ-433 Session can deadlock on responderSync... Closed
Relates
relates to QFJ-484 Session responder lock change inadequate Closed

 Description   

The Session responder lock uses an interned String which is effectively a class-level lock. This can be made less restrictive by creating a new object instance for each Session.



 Comments   
Comment by Andre Mermegas [ 26/May/10 ]

this patch was undone in svn between 926 and 928 by ld1979 , I see, may i suggest simply making the mutex an object instead, this is a lighter and better lock object than String.

private final Object responderSync = new Object();

Comment by Steve Bate [ 28/Apr/11 ]

This fix was reverted in Rev #928.

Comment by Eric Deshayes [ 29/Apr/11 ]

Fix reapplied in Rev#1026

Generated at Sat Nov 23 13:02:26 UTC 2024 using JIRA 7.5.2#75007-sha1:9f5725bb824792b3230a5d8716f0c13e296a3cae.