RFR(xs): 8152180: SIGFPE in CMSCollector::preclean with big CMSScheduleRemarkSamplingRatio
sangheon.kim at oracle.com
Sun Apr 3 06:38:55 UTC 2016
Could I have a couple of reviews for this tiny change?
There would be an arithmetic overflow with
CMSScheduleRemarkSamplingRatio at CMSCollector::preclean() as the
flag(uintx type with max limit of max_uintx) is multiplied by 100.
This change is simply rephrased the calculation routine to avoid the
overflow and changed the flag's type to 'uint' because 'uintx' seems too
large for the flag.
Testing: JPRT, runtime/commandline JTREG for all platforms
More information about the hotspot-gc-dev