[logback-dev] synchronization style?

Ceki Gulcu ceki at qos.ch
Mon Jul 6 21:08:28 CEST 2009



Thorbjoern Ravn Andersen wrote:
> Ceki Gulcu skrev:
>> Also note that Sun excepted my bug report on this issue. See
>> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6855216
>>
> I see that it is registered as a wontfix bug 

As far as I can see bug 6855216 is in state "1-Dispatched" whatever that means.

> I have not followed this closely, but is that an option?
>> Your request for fair locking in appenders is not
>> unreasonable. However, it will cause a measurable slow down in a large
>> number of cases. It also feels like fixing the JVM. So, I need more
>> evidence before going down the path of fair locking.

> If the conclusion is that "it depends" how to do this right, perhaps it 
> should be configurable?

FileAppender (and co) in svn trunk has much finer grain locking. I am thus 
hoping that this problem will be "transparently" solved in logback 0.9.16 when 
it is released.


-- 
Ceki Gülcü
Logback: The reliable, generic, fast and flexible logging framework for Java.
http://logback.qos.ch


More information about the logback-dev mailing list