Hi
Recently I am profiling memory on my application which is based on MINA
1.0.1.
During my tests I found that there are many instances of ArrayList allocated
from DefaultIoFuture constructor(around 10-20%
of the total memory), after reviewing the code there is indeed an allocation
of the "listeners" attribute which in my
opinion can be done lazy - correct me if I am wrong but most of the time
this array is empty (when no listener are added) and there is unneeded
allocation.

Thanks,
Haviv
-- 
View this message in context: 
http://www.nabble.com/DefaultIoFuture---memory-problem-tf3761127.html#a10631263
Sent from the mina dev mailing list archive at Nabble.com.

Reply via email to