[Bioperl-l] Seeking comments, Bio::Species memleak fix

Hilmar Lapp hlapp at drycafe.net
Sat Jul 3 20:55:30 UTC 2010


On Jun 30, 2010, at 1:35 PM, Chris Fields wrote:

> Bio::Species had previously inherited from Bio::Taxon, but also  
> required
> it to hold a Bio::Tree::Tree which contained a circular reference back
> to the Bio::Species object, thus requiring Scalar::Util::weaken.  This
> has caused several hard-to-diagnose problems with premature garbage
> collection, including some issues with threads (bug 3017).


Is there something we should learn for future cases in which circular  
references are being considered with the S::U::weaken remedy (such as  
the recent one re: SeqI<->SeqFeatureI)?

	-hilmar
-- 
===========================================================
: Hilmar Lapp -:- Durham, NC -:- hlapp at drycafe dot net :
===========================================================







More information about the Bioperl-l mailing list