On Mon, Feb 15, 2010 at 4:12 PM, Emmanuel Lecharny <[email protected]> wrote:
> Hi guys,
>
> yesterday I removed all references to the non-thread-safe CircularQueue data
> structure, and replaced it with a ConcurrentLinkedQueue.
> Not only this is a comparable data structure, but it's also thread safe, and
> tested.
>
> Now, the question : should we remove the CircularQueue data structure from
> the code base, assuming that it should only be used by MINA core, and not by
> user, or simply deprecate it ?
>

Will marking it as depreciated help anyone?
We have removed it from core :-). I think we need to ask this question
in User ML as well

> I also have some concern about the existence of HashMap in MINA. We have 149
> references to this data structure which is really slow when run on
> mlti-threaded environment. I suggest we replace all of those references in
> core by ConcurrentHashMap
> (http://www.javamex.com/tutorials/synchronization_concurrency_8_hashmap.shtml).
> The very same for HashSet which is also used a lot.
>
> Thoughts ?

hmm.. would love to get rid of them. I hope it doesn't break anything :-)

thanks
ashish

Reply via email to