> 
> 
> Hi,
>  I have several questions about the garbage collector:
>  1. Are there any docs about its interface and the algorithm it uses?

there are no docs, however, if you look at gc.h, the interface
is pretty straightforward and self-explanatory.
There is a short not in the FAQ/ directory about its decision proc.

The intention of this interface is to allow for multiple collectors
to be plugged in.  

Note that this interface was defined well after Alexandre did the
article for Dr. Dobbs, although the basic alg has changed little since.


>  2. Does it contract its heap? Can it run in the background of the vm?

No and no.

>  3. If it does not contract the heap, do you plan such feature?
> 

Like I said, it was my intention that this interface should allow for
multiple different collectors to be plugged in.

One such implementation maybe the one Transvirtual is doing for their
JVM, and several other people have expressed interest in writing their
own gc.

If you find the interface insufficient for your gc algorithm (it currently
lacks write barriers and some other feature that may be required by certain
collectors), we can extend it.

        - Godmar

Reply via email to