On May 15, 2007, at 2:11 PM, Haviv wrote:
Recently I am profiling memory on my application which is based on MINA1.0.1.During my tests I found that there are many instances of ArrayList allocatedfrom DefaultIoFuture constructor(around 10-20%of the total memory), after reviewing the code there is indeed an allocationof the "listeners" attribute which in myopinion can be done lazy - correct me if I am wrong but most of the timethis array is empty (when no listener are added) and there is unneeded allocation.
Yup, could be done. Patches welcome! :) -pete -- [EMAIL PROTECTED] - http://fotap.org/~osi
smime.p7s
Description: S/MIME cryptographic signature
