develooper Front page | perl.perl5.porters | Postings from September 2011

[perl #98204] Shared objects not destoryed

Thread Previous | Thread Next
From:
Father Chrysostomos via RT
Date:
September 8, 2011 00:41
Subject:
[perl #98204] Shared objects not destoryed
Message ID:
rt-3.6.HEAD-31297-1315467679-1221.98204-15-0@perl.org
On Thu Sep 08 00:00:09 2011, sprout wrote:
> On Wed Sep 07 08:24:40 2011, sprout wrote:
> > If we create a proxy for everything that is freed, even if it is not
> > blessed, then ref refs and nested aggregates will work.  I think I’m
> > going to do it this way.
> 
> Attached are two patches.  The first one is a minor refactoring to
> S_get_RV in preparation for the second patch.  The second one fixes the
> bug by creating a proxy for sub-items of anything about to be freed, if
> those sub-items are otherwise unreferenced shared SVs.
> 
> I still need to write a commit message for the second patch.
> 
> As I’ve never modified shared.xs before, I would appreciate review and
> approval from someone else before I commit this.

That patch is no good. It makes clone.t loop.


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About