• Y
    6722113: CMS: Incorrect overflow handling during precleaning of Reference lists · fb7c8a34
    ysr 提交于
    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
    fb7c8a34
cmsOopClosures.hpp 14.6 KB