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

Tony Printezis tony.printezis at
Wed Dec 14 22:17:47 UTC 2011

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.


More information about the hotspot-gc-dev mailing list