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

Store the "next chunk start index" in the length field of the to-space object, instead of the from-space object, so that we can always reliably read the size of all from-space objects.

Reviewed-by: johnc, ysr, jmasa
1 file changed