Kaffe Memory Management
anderssj at tcd.ie
Wed Jun 7 09:22:01 PDT 2000
Why does Kaffe (linux) uses sbrk(..) to allocate memory. According to the man. pages for sbrk(..) it is not very feasible. Why doesn't Kaffe use malloc(..)?
In gc_small_alloc(..) and gc_large_alloc(..):
What happens here? Where do these pointers point to. Memory addresses in the heap or to addresses in the space allocated by malloc for a number of gc_blocks (which is used by the gc_primary_freelist).
The bottom line is, what of the gc_block is put on the heap?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the kaffe