Request for Review (s) - 8135318: CMS wrong max_eden_size for check_gc_overhead_limit
jon.masamitsu at oracle.com
Tue Nov 3 17:54:21 UTC 2015
This fixes a bug in the CMS calculation that is used to
check the GC overhead limit. The max size of eden was
incorrectly calculated as the young gen size - 2 * survivor
space size. The young gen size only includes 1 survivor space
so only 1 should have been subtracted. The fix uses the young
generation max_eden_size() that does the calculation correctly.
Fix was contributed by ivan.galkin at sap.com
Ivan, please check that the patch is correct.
More information about the hotspot-gc-dev