The default value of -1 for 32 bit card indices is a regular card value at the border of 2TB heap addresses in the from card cache, so G1 may loose remembered set entries. Extend from card cache entries to 64 bits.
Co-authored-by: Jarkko Miettinen <jarkko.miettinen@relex.fi>
Reviewed-by: shade, sjohanss
In general maintain remembered sets of old regions only from the start of the concurrent cycle to the mixed gc they are used, at most until the end of the mixed phase.
Reviewed-by: sjohanss, sangheki