6898948: G1: forensic instrumentation for out-of-bounds recent_avg_pause_time_ratio()
Summary: Added instrumentation and (temporary) assert in non-product mode; clipped the value when found out-of-bounds in product mode. Fix of original issue will follow collection of data from this instrumentation.
Reviewed-by: jcoomes, tonyp
6898857: [Regression] -XX:NewRatio with -XX:+UseConcMarkSweepGC causes fatal error
Summary: Use CollectorPolicy information instead of MaxNewSize
Reviewed-by: ysr, jcoomes