Re: a few observations & questions on gc

Date view Thread view Subject view Author view

From: Archie Cobbs (archie@whistle.com)
Date: Tue Jan 05 1999 - 17:49:04 EST


Godmar Back writes:
> Does ps include memory used for mmapped files?

Um, I can't remember. I think so. But shouldn't these get unmapped
when we're done with them anyway?

> Does -verbosegc show different memory usage when zip files are unpacked?

I'll ask Amancio.

> We don't use FreeBSD malloc/free, and we never return anything.

Hmm.. so kaffe calls sbrk(2) directly? Why not just use malloc/free?
Then when we freed enough memory, it would go back to the system.

> > already fixed the bug where we weren't free'ing memory associated with
> > uncompressing zip files.
>
> I thought so too, but that fix actually didn't look right somehow.
> We'll have to look at it more closely.

Yep, I bet there are more diamonds hiding in the rough in there.. :-)

-Archie

___________________________________________________________________________
Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:57:29 EDT