CMS: ReduceInitialCardMarks unsafe in the presence of cms precleaning

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • hs17
    • Affects Version/s: hs14, hs17
    • Component/s: hotspot
    • None
    • gc
    • b03
    • b04
    • generic, x86
    • generic, solaris

        ReduceInitialCardMarks elides card marks for TLAB allocations
        in young gen (fine for CMS), but for the case of slow-path allocation
        makes up by card-marking the allocated object (potentially in the
        old gen) before initialization. This latter is unsafe wrt CMS' precleaning
        which might scan the marked cards before they have been initialized
        by the mutator and thus lose those updates.
        Deleted incorrect comment/update here.

              Assignee:
              Y. Ramakrishna
              Reporter:
              Y. Ramakrishna
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: