For the meantime,  I have added the Parrot_exit and Parrot_on_exit functions
to CVS.

This will fix the leak on all platforms, for now.   If you want to fix 
internal_exception so this isn't necessary, that's fine- we can rip this 
out later.

--Josh

At 22:21 on 11/06/2002 +0100, Leopold Toetsch <[EMAIL PROTECTED]> wrote:

> Dan Sugalski wrote:
> 
> 
> >> - I implemented Parrot_destroy, which cleans up all internal data 
> >> structures of an interpreter and frees all used mem.
> 
> > Right, I understand. (And I really appreciate it--this was a hanging 
> > area that didn't get nearly the proper attention it needed) The bit I 
> > don't understand is the need for a hook into the process exit. 
> 
> 
> Then you should have read on ;-)
> 
> ~8% tests use internal_exception to deliver a test result. Not catching 
> the exception may hide memory leaks in such tests.
> More detailled:
> Testing for memory leaks uses the same tests as are already in t/*. A 
> test is passed, when the result is ok, and when it doesn't leak mem. 
> This is accomplished by the scipt "testyamd" I checked in. When the 
> exceptions just exits and Parrot_destroy isn't reached, the test would fail.
> 
> 
> > Yeah, I think I'll do that for right now. What I'd like is a probe for 
> > this in configure. Oh, Brent.... :)
> 
> I did deactivate it some minutes ago. Tinderboxen should be happy again. 
> Waiting for the config test - but it's not an urgent one.
> 
> leo
> 


Reply via email to