CRR (S): 7121623: G1: always be able to reliably calculate the length of a forwarded chunked array

Tony Printezis tony.printezis at
Wed Dec 21 22:25:05 UTC 2011

Hi all,

I have two code reviews (thanks to John and Ramki!). Can I push or is 
anybody else still looking at this?


On 12/14/2011 05:17 PM, Tony Printezis wrote:
> Hi all,
> Can I have a couple of code review for this small change?
> The CR has a bit more explanation. The short version is that I'm now 
> encoding the "start index of the next chunk" in the from-space length 
> field of a chunked array (say *that* quickly!) as a negative value to 
> always be able to distinguish it from the real length. This will 
> simplify the code for the CR John is currently working on (6484965) 
> but it's a small, self-contained change so it's good to get it code 
> reviewed and pushed separately.
> Tony

More information about the hotspot-gc-dev mailing list