Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6888898

CMS: ReduceInitialCardMarks unsafe in the presence of cms precleaning

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • hs17
    • hs14, hs17
    • 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.

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: