heap fragmentation?

Jeff Sturm jsturm@one-point.com
Wed Jun 5 11:58:00 GMT 2002


On Tue, 4 Jun 2002, Boehm, Hans wrote:
> The only thing I see here that's clearly suboptimal is the size of
> static roots.  That basically gets added to the size of live heap data
> when making heap expansion decisions, since it needs to be scanned for
> each collection.

I forgot to mention: a workaround for this is increasing
GC_free_space_divisor, trading speed for size (just like the comment
says in gc.h).

Jeff



More information about the Java mailing list