develooper Front page | perl.perl5.porters | Postings from August 2010

Re: [perl #75176] Symbol::delete_package does not free certain memory associated with package::ISA

Thread Previous | Thread Next
From:
Father Chrysostomos
Date:
August 22, 2010 12:11
Subject:
Re: [perl #75176] Symbol::delete_package does not free certain memory associated with package::ISA
Message ID:
86895DC2-E091-4D2E-AFD5-A3F2E97A0798@cpan.org

On Aug 18, 2010, at 9:47 AM, Dave Mitchell wrote:

> On Sun, Aug 08, 2010 at 12:22:13PM -0700, Father Chrysostomos wrote:
>> If you are suggesting adding new fields to the xpvhv_aux struct, what do
>> I need to know about alignment issues?
>> 
>> (After doing some research, it now looks as though I just need one more
>> field; viz., a HEK* to store an alternate name.)
> 
> Note that hv_clear and hv_undef may remove the aux struct, so you may not
> be able to rely on it always remaining.

What happens to the name currently stored in there when that happens?


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