Current heap layout of generational mark-sweep GC

Ted Neward ted at tedneward.com
Tue May 15 03:41:16 UTC 2007


I don't have an answer for you, Neo, but as someone outside of Sun, I wanted
to express my thanks for all this "digging in" you're doing to the
code--you're very quickly becoming someone whose emails I pay attention to
when they come through the list, because your questions are always
non-trivial and interesting (such the NewRatio email from last week). Your
insights are making my job easier getting up to speed on the code. :-)

Thanks!

Ted Neward
Java, .NET, XML Services
Consulting, Teaching, Speaking, Writing
http://www.tedneward.com

> -----Original Message-----
> From: hotspot-gc-dev-bounces at openjdk.java.net [mailto:hotspot-gc-dev-
> bounces at openjdk.java.net] On Behalf Of Neo Jia
> Sent: Saturday, May 12, 2007 11:22 PM
> To: hotspot-gc-dev at openjdk.java.net
> Subject: Current heap layout of generational mark-sweep GC
> 
> hi,
> 
> I am wondering that for the generational mark-sweep GC, if the block
> offset shared array is the last allocated object on the CHeap.
> 
> The following is my understanding of the current heap layout:
> 
> 1. The nursery space is on the lowest address
> 2. The mature space is following the nursery address.
> 3. The permanent space is following the nursery address at a higher
> address.
> 4. The card table is allocated from the end of the permanent space,
> the regions inside it will be mapped to these previous three spaces
> sequentially, from lower address to higher address.
> 5. The block offset shared array used by the mature space will be
> allocated at the end of the card table area, which is used by mature
> space. And the virtual space size of this area will be set according
> to the mature space and word bits.
> 
> So, is there any space allocated following?
> 
> Thanks,
> Neo
> --
> I would remember that if researchers were not ambitious
> probably today we haven't the technology we are using!
> 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.467 / Virus Database: 269.6.8/800 - Release Date: 5/11/2007
> 7:34 PM
> 

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.467 / Virus Database: 269.7.0/803 - Release Date: 5/13/2007
12:17 PM
 




More information about the hotspot-gc-dev mailing list