harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Archie Cobbs <arc...@dellroad.org>
Subject Re: Some questions about the architecture
Date Thu, 20 Oct 2005 22:56:31 GMT
Robin Garner wrote:
> GC is triggered in two cases: 1) the user code calls System.gc().  2) the
> heap fills up (for some suitable definition of 'fills up').  There is
> never any need for the VM code to call the garbage collector.

Off tanget, but IMHO this is not strictly true: it depends on whether
VM native code relies on finalize() to free up its (non-heap) memory.
Here's an exmaple of this:

   http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4797189

-Archie

__________________________________________________________________________
Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com

Mime
View raw message