8035326: Assume non-NULL references in G1CollectedHeap::in_cset_fast_test

Remove the assumption that G1CollectedHeap::in_cset_fast_test needs to check for NULL references. Most of the time this is not required, making the code doing this check multiple times.

Reviewed-by: stefank, mgerdin, jmasa
2 files changed