On Dec 1, 2005, at 9:22 AM, Jess Holle wrote:

Has anyone tried replacing the synchronization in log4j with Java 5 locks to and done any benchmarks?

I'm curious as I think it would be interesting to have a lock factory which produces something like the existing locks for pre- Java-5 JVMs and Java 5 locks in Java 5.

We purely use and require Java 5 and higher for all new development at this point, which may make us unusual, but that's where we're at. I understand the need to support earlier JVMs, but am interested in squeezing the best possible performance and scalability out under Java 5.

I have suggested targeting Java 5 in log4j 2.0. However, I plan on experimenting with substantially reducing the scope of locks in log4j 2.0 instead of just incrementally using new locking features with the current approach.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to