[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Pnet-developers] Destructors are not being called - bug or usage er
From: |
Rhys Weatherley |
Subject: |
Re: [Pnet-developers] Destructors are not being called - bug or usage error? |
Date: |
Mon, 17 May 2004 07:28:18 +1000 |
User-agent: |
KMail/1.4.3 |
On Monday 17 May 2004 06:21 am, Norbert Bollow wrote:
> Would it be possible for our engine to guarantee that all finalizers
> are called prior to exit?
>
> How hard would that be to implement?
Impossible. If there is a pointer to the object left over in a register or on
the system stack, or an integer value than just happens to look like a
pointer to an object, then the object will be retained by the conservative
garbage collector no matter what you do.
But, you are welcome to try to devise an solution to the guaranteed
finalization problem that 50 years of GC research has been unable to find.
Let me know when you have a patch. :-)
Cheers,
Rhys.
- [Pnet-developers] Destructors are not being called - bug or usage error?, David Logan, 2004/05/14
- Re: [Pnet-developers] Destructors are not being called - bug or usage error?, Gopal V, 2004/05/14
- Re: [Pnet-developers] Destructors are not being called - bug or usage error?, Gopal V, 2004/05/14
- Re: [Pnet-developers] Destructors are not being called - bug or usage error?, Rhys Weatherley, 2004/05/14
- RE: [Pnet-developers] Destructors are not being called - bug or usage error?, Thong (Tum) Nguyen, 2004/05/14
- Re: [Pnet-developers] Destructors are not being called - bug or usage error?, David Logan, 2004/05/15
- Re: [Pnet-developers] Destructors are not being called - bug or usage error?, Norbert Bollow, 2004/05/16
- Re: [Pnet-developers] Destructors are not being called - bug or usage error?,
Rhys Weatherley <=
- Re: [Pnet-developers] Destructors are not being called - bug or usage error?, Norbert Bollow, 2004/05/17
- Re: [Pnet-developers] Destructors are not being called - bug or usage error?, Carl-Adam Brengesjo, 2004/05/16
- RE: [Pnet-developers] Destructors are not being called - bug or usage error?, Thong (Tum) Nguyen, 2004/05/16