How do I turn off garbage collection?
Jason Baker
jbaker at cs.utah.edu
Fri Sep 15 12:18:06 PDT 2000
Hajime Inoue <hinoue at cs.unm.edu> writes:
> Is there a way to disable garbage collection in kaffe? I'm trying to
> gather some information that would be much more useful if pointers didn't
> move around.
Since Kaffe's garbage collector does no copying, you might not need to
disable is. Otherwise, you can do:
kaffe -verbosegc -ms 64M -ms 64M
which shouldn't GC if your program allocates less than 64M. If you
configured kaffe with --enable-debug, you can use
kaffe -vmdebug NOGC
rather than calculate the maximum heap size.
Jason
More information about the kaffe
mailing list