[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Disposing object instances

In article <199502060839.AA23824@xs1.xs4all.nl>, psto@xs4all.nl (Peter
Stone) wrote:

> Is there other way to inform the gc directly 
> that somehing is not needed anymore?

If there is, there shouldn't be. One of the main advantages of automatic
memory management is to free the programmer from worry about dereferencing
deallocated memory. It sounds to me as if you are proposing a mechanism
for violating that contract.

Timothy Larkin
He said that the world was sentient to its core and secret and black beyond men's imagining and that its nature did not reside in what could be seen or not seen.  --Cormac McCarthy, "The Crossing"

Public key 768/6CC32A85