Pinned objects

Fernando Diaz <[email protected]> 14 Aug 2003 13:17:05 +0200
Newsgroups gmane.comp.gnome.mono.garbage-collection
Message-ID <[email protected]>
Hi guys!.

I would like you to give me your opinion about the alternatives for the
pinned objects collection.

If you take a look to the .NET, it uses a heap for pinned and not pinned
objets and a Mark-Compact collector. Depending on the time that the
pinned objects have to be pinned it is a good idea, but when the pinned
objects have pinned for a long time I think that it will be better to
have two heaps, one for pinned objects and other for non-pinned objects.
The pinned-heap will be collected with a non moving collector. But all
of this depends on the time that an object is pinned.

What is your opinion about this? Will it be better a single heap or a
heap for pinned objects and a heap for non-pinned objects?

Thanks.

Regards.
-- 
Fernando Diaz <[email protected]>
_______________________________________________
Mono-gc-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-gc-list