From: Godmar Back (gback@cs.utah.edu)
Date: Tue Jan 05 1999 - 17:42:47 EST
Okay, I think it's time for the gc-block-hash scheme to be retired.
I would like to give Jason a free hand in merging gc-mem.c and gc-block-mmap.c
into one, since both files are conceptually part of the allocator.
Please let me know if anybody objects to this.
Jason & I discussed the issue, and the only thing that would speak in favor
of hash is a slight savings in memory on systems that have large fragmented
address spaces with large holes in them, because the block table in the
new scheme will reserve space for those. However, these parts are never
touched, so systems using virtual memory probably won't ever allocate
pages for them.
A worst-case scenario would be a machine with 128MB physical memory,
no virtual memory support, and a 32MB Java heap spread across the whole
128MB range. The waste here could be up to 768KB.
However, I think this scenario is far-fetched and that all the other
advantages of the new scheme outweigh it.
- Godmar
This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:57:29 EDT