Re: Introducing "toggle references"

Dnia 29-04-2005, pią o godzinie 22:13 -0400, Owen Taylor napisał:
> > The basic question here is, how much can Java object do when its
> > reference count changes? If it can make sure that on refcount == 1
> > references to underlying GObject are made into toggle references, then
> > we can have proper cycle management scheme that will collect cycles when
> > possible, but not before.
> > 
> > Again, sorry if it's exactly your argument, but I just don't know that
> > and don't have time to do proper homework right now.
> Java doesn't even use reference counts for garbage collection... about
> all you can do in Java is get notification when an object has been
> garbage collected.

Oh, right. That kinda breaks my smart idea.


Maciej Katafiasz <ml mathrick org>

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