develooper Front page | perl.perl5.porters | Postings from December 2017

Re: Debugging leaked scalars and cyclic references with theSpiderMonkey GC

Thread Previous | Thread Next
From:
Zefram
Date:
December 11, 2017 19:53
Subject:
Re: Debugging leaked scalars and cyclic references with theSpiderMonkey GC
Message ID:
20171211195310.GQ25404@fysh.org
Pip Cet wrote:
>There is one known issue: XSUBs store an ANY pointer, which might be a
>referenced SV or a random pointer.

It is well defined that this is a counted SV ref if and only if the CV
is CvCONST.  In other cases it might happen to point to an SV, but so
could any random uncounted pointer anywhere.

-zefram

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