JDK-8143210 : Clean up G1CollectorPolicy using G1CollectorPolicy::PauseKind
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
In a recent CR G1CollectorPolicy::PauseKind that stores the current GC pause type in a single variable.
It has not been applied to all possible uses, introducing some technical debt. Do that in this change.