Ciao Martin,

I was looking yesterday at the SoftHashValueMap since I need it for another
project. I have a question regarding the WeakCollectionCleaner. Is it really
needed? All it seems to do is clearing  the internal reference of our
WeakReference or SoftReference but it seems to do nothing beyond that. I am
for sure missing something here. Iam bothering with this question since
having a thread with priority 5 as the DEFAULT collection cleaner doing
something that we don't need to do it might be an overkill, especially if
you start putting a lot of references inside its ReferenceQueue being them
weak or soft.

Hoping to get some feedback.

 

Ciao,

Simone.

 

-------------------------------------------------------
Eng. Simone Giannecchini
President /CEO GeoSolutions S.A.S.
Via Carignoni 51 

55041  Camaiore (LU) 

Italy

 

phone: +39 0584983027

fax:      +39 0584983027

mob:    +39 333 8128928 

 


 <http://www.geo-solutions.it/> http://www.geo-solutions.it

-------------------------------------------------------

 

<<image001.jpg>>

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to