J
John Grandy
Are Gen 0, Gen 1, Gen 2 heaps and Large Object Heaps physically contiguous ?
Or are these abstract representations of groups of allocated segments in the
general heap ? More specifically, are the segments physically contiguous
within each heap ? And are the heaps physically contiguous ?
So, G1,G2,G3 heap max size, etc. (and LOH max size) are proportionate to the
# of general heap memory segments currently allocated for each of these GC
heaps ?
If the GC heaps are not physically contiguous memory spaces, by what method
does generational promotion reduce fragmention in the preceding heaps ? (
scenario 1 : a just de-referenced object is added to gen 1 heap; scenario
2: a gen 1 heap object is promoted to gen 2 heap )
Or are these abstract representations of groups of allocated segments in the
general heap ? More specifically, are the segments physically contiguous
within each heap ? And are the heaps physically contiguous ?
So, G1,G2,G3 heap max size, etc. (and LOH max size) are proportionate to the
# of general heap memory segments currently allocated for each of these GC
heaps ?
If the GC heaps are not physically contiguous memory spaces, by what method
does generational promotion reduce fragmention in the preceding heaps ? (
scenario 1 : a just de-referenced object is added to gen 1 heap; scenario
2: a gen 1 heap object is promoted to gen 2 heap )