Re: gc runs as a separate thread ?
Carl S Lebsack <[email protected]> Wed, 14 Sep 2005 08:34:54 -0500 (CDT)
| Newsgroups | gmane.comp.java.vm.sablevm.devel |
|---|---|
| Message-ID | <[email protected]> |
All threads in SableVM are stopped in order to run GC (stop the world). GC is started when an attempt to allocate a new object is made but there is not enough heap space to support the allocation. Look in src/libsablevm/gc_copying.c The garbage collection process is started in the last function in that file. Carl Lebsack On Wed, 14 Sep 2005, siddharth karandikar wrote: > Hi all, > > does GC runs as a separate thread in sable vm ? > > If yes, where can i find the code which actually starts the GC ? > > > -- > ------------------------ > ~ Siddharth ~ >