[kaffe] Garbage Collection
Matthew Toseland
toad at amphibian.dyndns.org
Tue Feb 25 08:26:01 PST 2003
Using Kaffe CVS, it looks like when I call:
System.gc();
System.runFinalization();
It locks the whole VM for the GC. Is there any way to prevent this?
Sun doesn't do this. Also it seems rather slower than Sun.
What exactly is the Kaffe garbage collection policy? Under Sun VMs, it
would appear that it doesn't even try to GC until a large fraction of
the maximum available memory is used... this is very bad for freenet,
because it has rather burst memory usage - it could use a lot, so users
set the limit high, but most of the time it doesn't use a lot. So we
added a checkpoint called every (configurable time period) to call the
above code. It would seem this is not necessary on Kaffe... but info on
Kaffe (and Sun :) ) garbage collection would be useful.
--
Matthew Toseland
toad at amphibian.dyndns.org/amphibian at users.sourceforge.net
Full time freenet hacker.
http://freenetproject.org/
Freenet Distribution Node (temporary) at http://80-192-4-23.cable.ubr09.na.blueyonder.co.uk:8889/0GSj~ZckWfI/
ICTHUS.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://kaffe.org/pipermail/kaffe/attachments/20030225/7732ab8f/attachment-0003.pgp
More information about the kaffe
mailing list