Re: investigation into replacing ref. counts with leases



Darin Adler <darin bentspoon com> writes:

> There's no garbage in normal operation with the scheme I was implementing.
>   This is not like GC in that respect. The "garbage" only occurs when
> a process dies without cleaning up after itself. In normal operation,
> leases are destroyed, which is done immediately. Old leases expire,
> and that's the part that's done with a timer. But a local reference
> would never have an old lease unless there was a programming mistake.

Hmm, what about periodically "pinging" all objects ?

-- 
Martin Baulig
martin gnome org (private)
baulig suse de (work)




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