Activity report on *[JIRA] Bug SKER4939 - Fix memory leak in sesat commons ReferenceMap*
Scarab Link: http://sesat.no/scarab/issues/id/SKER4939 Module: Sesat> Kernel Activity generated by Håvard Frøiland ([EMAIL PROTECTED]) at 07/23/2008 13:35 *Reasons for the changes* *Attribute changes* - Resolution: Fixed () - Total Time Spent: 8 () - Original Time Estimate: 1 () - Test (package.class.method): 0 () - Status: Resolved (Open) - Remaining Estimate: 0 () ------------------------------------------------------------------------------- *Comments* - By Håvard Frøiland - 07/23/2008 13:35 --- "r1103 - Changed the ReferenceMap implementation to use only one thread. This thread is created in a static way together with the ReferenceQueue that keeps track of the Weak/Soft references that has had it's object garbage collected. The thread will only know about the static queue, and not as before the queue belonging to a specific ReferenceMap object. The hard reference from the thread to the ReferenceMap's queue is therefor removed, and the memory leak is gone. This will also lead to improved performance since we have less switching between threads. "
_______________________________________________ Kernel-issues mailing list [email protected] http://sesat.no/mailman/listinfo/kernel-issues
