Kaffe Memory Manager

Chris Pedley cp114 at york.ac.uk
Tue Feb 6 07:25:15 PST 2001


I'm having some trouble understanding Kaffe's memory manager
and there is one particular part that is confusing me a lot.
In gc-mem.c, function gc_block_alloc (about line 881) appears:
	if (GCMEM2BLOCK(heap_addr + size) 
	    > ((gc_block *)gc_block_base) + nblocks
	    || heap_addr < gc_heap_base) {

what is this test for?

Thanks,
Chris.




More information about the kaffe mailing list