Static variables during marking phase of PSParallelCompact

Lokesh Gidra lokesh.gidra at yahoo.com
Thu Apr 25 15:38:42 UTC 2013


OK. Can you please also tell me which particular root type will cover them?

Thanks for you help.

Lokesh




----- Original Message -----
> From: Thomas Schatzl <thomas.schatzl at oracle.com>
> To: hotspot-gc-dev at openjdk.java.net
> Cc: 
> Sent: Thursday, 25 April 2013 5:05 PM
> Subject: Re: Static variables during marking phase of PSParallelCompact
> 
> Hi,
> 
> On Thu, 2013-04-25 at 22:57 +0800, Lokesh Gidra wrote:
>>  Hello,
>> 
>>  I am trying to understand the code of PSParallelCompact. I am having hard 
> time understanding, how are the static variables taken into account during the 
> marking phase? There is no root set taken from the permanent generation, where I 
> thought the static variables reside (inside the class objects). Please correct 
> me and guide through right path.
>> 
> 
> In hs21 the static variables moved to the java.lang.Class instances in
> the java heap.
> 
> (see http://bugs.sun.com/view_bug.do?bug_id=7017732)
> 
> Thomas
> 



More information about the hotspot-gc-dev mailing list