7080389: G1: refactor marking code in evacuation pause copy closures

Refactor code marking code in the evacuation pause copy closures so that an evacuated object is only marked by the thread that successfully copies it.

Reviewed-by: stefank, brutisso, tonyp
4 files changed