logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralph Goers <ralph.go...@dslextreme.com>
Subject Re: Async tests with ListAppender
Date Thu, 08 Sep 2016 21:00:47 GMT
Why would it? Do you have multiple threads logging? It wasn’t written to be used by anything
but single threaded unit tests.

Ralph

> On Sep 8, 2016, at 1:34 PM, Gary Gregory <garydgregory@gmail.com> wrote:
> 
> Should ListAppender use CopyOnWriteArray instead of ArrayList? Either all the time or
when using in aync tests?
> 
> Gary
> 
> -- 
> E-Mail: garydgregory@gmail.com <mailto:garydgregory@gmail.com> | ggregory@apache.org
 <mailto:ggregory@apache.org>
> Java Persistence with Hibernate, Second Edition <http://www.manning.com/bauer3/>
> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
> Spring Batch in Action <http://www.manning.com/templier/>
> Blog: http://garygregory.wordpress.com <http://garygregory.wordpress.com/> 
> Home: http://garygregory.com/ <http://garygregory.com/>
> Tweet! http://twitter.com/GaryGregory <http://twitter.com/GaryGregory>

Mime
View raw message