EVALUATION
We could build a collector that would allow one to expand the heap.
The problem would be that there would be some overhead to allowing
that capability, and it's not clear it's a good tradeoff to always
penalize performance for the occasional need to expand the heap.
The usual way of working around such problems is to make the server
fail-safe by having a hot spare. Then you can load-balance away from
one of the pair, take it down nicely, and bring it back with a larger
maximum heap size. That has a fixed overhead of having the hot spare,
but you probably want that anyway.
###@###.### 2002-10-24
----------------------------------------------------------------
It might also be possible to build a "chunked" heap. For example,
if we allocated the heap in 4GB chunks, each with their own space
for objects, remembered sets, etc., then we might be able to avoid
the need for contiguous memory, and could grow the heap as needed
(in a 64-bit JVM).
###@###.### 2003-08-21
----------------------------------------------------------------
|