harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Tanzer <stru...@guglhupf.net>
Subject Re: Some questions about the architecture
Date Fri, 21 Oct 2005 14:58:21 GMT
On Fri, 2005-10-21 at 06:08 +1000, Robin Garner wrote:

> [Snip]
> 
> What the VM needs to do is to provide services that allow the GC to do its
> job.  These are at core:
> - A way to allocate bulk memory (eg mmap)
> - A way to enumerate roots (this is where stack scanning happens)
> - A scheduling mechanism (especially for parallel GC)
> - A way to enumerate the pointers in an object
> - Notification (which the GC can ignore) for pointer read and write
> operations (read and write barriers)
> 
> Understanding this will go a long way to getting past the disconnect we
> currently have over GC issues.  When I propose the new gc interfaces, this
> should become more concrete.

Isn't all that already adressed by the VM/GC and GC/VM interfaces posted
by Weldon Washburn [1], [2] some time ago? (I'm not sure if this is 
helpful, I didn't really read the BootJVM code, so please don't hit me
if I'm wrong). If not It might be helpful starting a WIKI - page which 
describes the BootJVM architecture/interfaces/..., although I guess some
of that is covered by the API docs too.

> [Snip]
> Regards,
> Robin

Regards, David.

[1]
http://wiki.apache.org/harmony-data/attachments/HarmonyArchitecture/attachments/gc_interface.txt
[2]
http://wiki.apache.org/harmony-data/attachments/HarmonyArchitecture/attachments/vm_gc_interface.txt

-- 
David Tanzer, Haghofstr. 29, A-3352 St. Peter/Au, Austria/Europe
http://deltalabs.at -- http://dev.guglhupf.net -- http://guglhupf.net
My PGP Public Key: http://guglhupf.net/david/david.asc
--
Pinky, Are You Pondering What I'm Pondering?
Umm, I think so Big Brainy Fish Face Stove Pipe Wiggle Room Eileen. 
But if you get a long little doggie, wouldn't you just call it 
a dachshund?

Mime
View raw message