comparison src/share/vm/runtime/globals.hpp @ 452:00b023ae2d78

6722113: CMS: Incorrect overflow handling during precleaning of Reference lists Summary: When we encounter marking stack overflow during precleaning of Reference lists, we were using the overflow list mechanism, which can cause problems on account of mutating the mark word of the header because of conflicts with mutator accesses and updates of that field. Instead we should use the usual mechanism for overflow handling in concurrent phases, namely dirtying of the card on which the overflowed object lies. Since precleaning effectively does a form of discovered list processing, albeit with discovery enabled, we needed to adjust some code to be correct in the face of interleaved processing and discovery. Reviewed-by: apetrusenko, jcoomes
author ysr
date Thu, 20 Nov 2008 12:27:41 -0800
parents b5e603f2e024
children 434912c745cf
comparison
equal deleted inserted replaced
443:b5e603f2e024 452:00b023ae2d78
1472 \ 1472 \
1473 product(uintx, CMSPrecleanDenominator, 3, \ 1473 product(uintx, CMSPrecleanDenominator, 3, \
1474 "CMSPrecleanNumerator:CMSPrecleanDenominator yields convergence" \ 1474 "CMSPrecleanNumerator:CMSPrecleanDenominator yields convergence" \
1475 " ratio") \ 1475 " ratio") \
1476 \ 1476 \
1477 product(bool, CMSPrecleanRefLists1, false, \ 1477 product(bool, CMSPrecleanRefLists1, true, \
1478 "Preclean ref lists during (initial) preclean phase") \ 1478 "Preclean ref lists during (initial) preclean phase") \
1479 \ 1479 \
1480 product(bool, CMSPrecleanRefLists2, false, \ 1480 product(bool, CMSPrecleanRefLists2, false, \
1481 "Preclean ref lists during abortable preclean phase") \ 1481 "Preclean ref lists during abortable preclean phase") \
1482 \ 1482 \