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
[EMAIL PROTECTED]/[EMAIL PROTECTED]
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.

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to