Senaka, This is a good question. Harmony GC interface does not allow freeing objects. From the other side if JIT is able to determine boundaries of the object life cycle and bound them to a stack, it allocates objects on the stack, so they are freed automatically. This is called escape analysis and should be out of scope for now.
Thanks. On Sun, Apr 6, 2008 at 8:39 PM, Senaka Fernando <[EMAIL PROTECTED]> wrote: > Hi all, > > Can you explicitly free an object without calling the GC? It seems that > Parrot's GC interface exposes methods to free a specific object instead of > getting the GC to collect it. Does Harmony have something similar? > > Regards, > Senaka > -- With best regards, Alexei
